Search and Top Navigation
#5666 closed bug (duplicate)
Opened May 28, 2010 06:01AM UTC
Closed August 20, 2010 12:12PM UTC
Last modified October 11, 2012 09:15PM UTC
button remains in focused state when it opens a dialog
Reported by: | klawd | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | ui.button | Version: | 1.8.2 |
Keywords: | button, dialog | Cc: | |
Blocked by: | Blocking: |
Description
a button that opens a dialog will stay in focused state until you click it again.
see http://jsfiddle.net/wjL3t/
or use this code, in case the fiddle gets deleted:
<button id="button1">test1</button> <button id="button2">test2</button> <button id="button3">test3</button> <div id="dialog"></div> <script> $('#button1').button().click(function(){ $('#dialog').dialog(); }); $('#button2').button().click(function(){ $('#dialog').dialog(); }); $('#button3').button().click(function(){ $('#dialog').dialog(); }); </script>
Replying to [ticket:5666 klawd]:
Note that only the the button that actually initially opens the dialog shows this behaviour