Wicket
  1. Wicket
  2. WICKET-4296

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.19
    • Fix Version/s: 1.4.20, 1.5.5
    • Component/s: wicket-extensions
    • Labels:
      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.

        Activity

        Hide
        Martin Grigorov added a comment -

        This change is also part of my work on Wicket-Ajax for Wicket 6.

        Show
        Martin Grigorov added a comment - This change is also part of my work on Wicket-Ajax for Wicket 6.

          People

          • Assignee:
            Johan Compagner
            Reporter:
            Johan Compagner
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development