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

Derk-Jan Hartman <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Derk-Jan Hartman <[email protected]> 2012-08-15 20:23:49 
UTC ---
logical:

                                                  $( textbox )
                                                        .bind(
'keypress.srdialog', function ( e ) {
                                                                if ( e.which ==
13 ) {
                                                                        //
Enter
                                                                        var
button = dialog.data( 'dialogaction' ) || dialog.find( 'button:first' );
                                                                       
button.click();
                                                                       
e.preventDefault();
                                                                } else if (
e.which == 27 ) {
                                                                        //
Escape
                                                                       
$(that).dialog( 'close' );
                                                                }
                                                        });

Now to solve it...

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
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