Opened 14 years ago

Closed 14 years ago

#3718 closed bug (fixed)

Close function isn't passed ev.keycode or others

Reported by: mdenyse Owned by:
Priority: major Milestone: 1.7
Component: ui.dialog Version: 1.6rc2
Keywords: Close Function Keycode Cc:
Blocked by: Blocking:


I was asked to submit this as a bug (re: post

My close function does not have ev.kecode filled in or many other parameters, so there's no way to determine the keycode without using other means.

Sample code:

$('<div>Hi there!</div>').dialog({

title: 'My Title',
modal: true,
buttons: {

'OK': function() { $(this).dialog('destroy'); },
'Cancel': function() { $(this).dialog('destroy'); },


function(ev, ui) {




Change History (2)

comment:1 Changed 14 years ago by Scott González

Milestone: TBD1.6
Priority: minormajor

comment:2 Changed 14 years ago by paul

Resolution: fixed
Status: newclosed

Fixed in r1854.

Note: See TracTickets for help on using tickets.