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

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

    XMLWordPrintable

    Details

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

      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

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

                Dates

                Created:
                Updated:
                Resolved: