zul.inp.InputWidget._shallIgnore function uses 'event' variable that does not exists

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major
    • 7.0.2
    • Affects Version/s: 7.0.1
    • Component/s: Components
    • Environment:

      OSX Mavericks
      Firefox v28

    • None

      The following function uses 'event' variable that does not exists.
      ----------------------------------------
      _shallIgnore: function (evt, keys) {
      if (navigator.appVersion.indexOf('Mac')!=-1 && event.metaKey)
      return;
      ....[Suppressed]...
      },
      ----------------------------------------

      I believe it shall be using 'evt' instead as shown corrected below.
      ----------------------------------------
      _shallIgnore: function (evt, keys) {
      if (navigator.appVersion.indexOf('Mac')!=-1 && evt.metaKey)
      return;
      ....[Suppressed]...
      },
      ----------------------------------------

      We are using this _shallIgnore function for limiting user input keys on Textbox, Combobox, and etc.

            Assignee:
            Unassigned
            Reporter:
            juminrubin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: