Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-2251

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • 7.0.2
    • 7.0.1
    • Components
    • OSX Mavericks
      Firefox v28

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: