[zanata/zanata-server] d5bbf0: Ensure that non-typed changes to filter text trigg...

GitHub noreply at github.com
Wed Feb 4 03:40:55 UTC 2015

  Branch: refs/heads/locale-aliases-select-checkboxes
  Home:   https://github.com/zanata/zanata-server
  Commit: d5bbf053a0a2247db280c0526174bb7396421eb7
  Author: David Mason <drdmason at gmail.com>
  Date:   2015-02-04 (Wed, 04 Feb 2015)

  Changed paths:
    M zanata-war/src/main/java/org/zanata/ui/input/TextInputRenderer.java
    M zanata-war/src/main/webapp/WEB-INF/layout/project/settings-tab.xhtml

  Log Message:
  Ensure that non-typed changes to filter text trigger filter.

Changes such as cut or paste with the mouse or drag-and-drop were not
triggering filter, since they do not involve a key press. The event
'oninput' appears to be designed for exactly our purpose: to respond
to changes in input text value regardless how the value was changed.

Includes a fallback to respond to typing for browsers that do not
support 'oninput'.

More information about the zanata-commits mailing list