Skip to main content

Bug Tracker

Side navigation

#11216 closed bug (invalid)

Opened January 24, 2012 01:14PM UTC

Closed January 24, 2012 02:17PM UTC

Last modified March 14, 2012 04:10AM UTC

funcation works only once

Reported by: anonymous Owned by:
Priority: low Milestone: None
Component: unfiled Version: 1.7.1
Keywords: Cc:
Blocked by: Blocking:
Description

hi ..

i have one link .

onclicking this link jquery dialogbox is open with its child

i need cod to close all open jquery dialog box on escape key

this is my code

<script>

jQuery(document).contents().keyup(function(e)

{

if(e.which == 27)

{

window.parent.jQuery(".ui-dialog,.ui-widget-overlay").dialog('close').hide();

}

return false;

});

</script>

it works properly BUT, when i click on link again the dialog is not open

in back ground the action is called but jquery dialog box is not open and visible

pls help me on this bug

thanks in advance

Attachments (0)
Change History (1)

Changed January 24, 2012 02:17PM UTC by addyosmani comment:1

priority: undecidedlow
resolution: → invalid
status: newclosed

Thanks for submitting a ticket to the jQuery bug tracker. Unfortunately we only handle issues to do with jQuery core. For assistance with jQuery UI please either submit your issue to their bug tracker http://bugs.jqueryui.com or ask for further assistance in #jquery on freenode.