Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-4296

In Firefox the auto complete dialog will not be closed when clicking besides it.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.4.19
    • 1.4.20, 1.5.5
    • wicket-extensions
    • None

    Description

      Currently we do:

      obj.onblur=function(event){
      if(mouseactive==1)

      { ignoreOneFocusGain = true; Wicket.$(elementId).focus(); return killEvent(event); }
      hideAutoComplete();
      if(typeof objonblur=="function") return objonblur.apply(this,[event]);
      }


      somhow we override then onblur behavior because that one is never called in FF to hide the auto complete
      if i use the Wicket.Event add listeners:

      Wicket.Event.add(obj,'blur',function(event){
      if(mouseactive==1){ ignoreOneFocusGain = true; Wicket.$(elementId).focus(); return killEvent(event); }

      hideAutoComplete();
      });

      it works fine.

      Attachments

        Activity

          People

            jcompagner Johan Compagner
            jcompagner Johan Compagner
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: