Search and Top Navigation
#10707 closed bug (worksforme)
Opened November 24, 2014 05:16PM UTC
Closed November 25, 2014 09:32PM UTC
Dialog : checkbox is unchecked when showing Dialog on change event
Reported by: | mproulx | Owned by: | mproulx |
---|---|---|---|
Priority: | minor | Milestone: | none |
Component: | ui.dialog | Version: | 1.8.24 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
On a Change/Click event on a checkbox, if we show a modal Dialog, this causes the checkbox to uncheck.
Ex :
($("myCheckBox").change(function () { /* show modal Dialog */} )
I click on the checkbox, I clearly see the check in it, but then the Dialog shows up and the checkbox is no longer checked.
Very annoying, please fix!
Attachments (0)
Change History (5)
Changed November 24, 2014 05:19PM UTC by comment:1
owner: | → mproulx |
---|---|
status: | new → pending |
Changed November 24, 2014 06:29PM UTC by comment:2
status: | pending → new |
---|
Sorry, I cannot make JQuery/JqueryUI work in either jsFiddle nor jsbin.
Is it possible to provide you with a ZIP file?
Changed November 24, 2014 06:43PM UTC by comment:3
status: | new → pending |
---|
It works just fine: http://jsbin.com/xugagejoni/1/edit?html,js,output
Changed November 25, 2014 09:10PM UTC by comment:4
status: | pending → new |
---|
The problem occurs when listening to the click/change event on a checkbox then showing a modal dialog.
I want to show you a test case, but modal (from dialog) function doesn't work in JSFiddle :
http://jsfiddle.net/1xpsbpur/3/
nor in JSBin :
Changed November 25, 2014 09:32PM UTC by comment:5
resolution: | → worksforme |
---|---|
status: | new → closed |
It works just fine (and so does the checkbox functionality): http://jsbin.com/ropifiqazi/1/
Please provide a reduced test case as requested in the red box. Also note that version 1.8.24 is no longer supported.