https://bugzilla.wikimedia.org/show_bug.cgi?id=56700

--- Comment #3 from Krinkle <[email protected]> ---
The handler from MWCategoryWidget is working fine. However, here is the code I
used for comment #2

In ve/ui/MWCategoryWidget.js:

    this.input.$input.on( 'keypress', function () {
        console.log( ['MWCategoryWidget', 'MWCategoryInputWidget', '$input',
'keypress'] );
    } );
    this.input.on( 'enter', function () {
        console.log( ['MWCategoryWidget', 'MWCategoryInputWidget', 'enter'] );
    } );

And the 'enter' event never fired. Because there is still a mystery here. The
event bound by OO.ui.TextInputWidget on $input for 'keypress' (which fires
'enter') disappears somehow.

Putting the same logger in there makes it never fire.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to