Opened 8 years ago
Closed 8 years ago
#10707 closed bug (worksforme)
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!
Change History (5)
comment:1 Changed 8 years ago by
Owner: | set to mproulx |
---|---|
Status: | new → pending |
comment:2 Changed 8 years ago by
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?
comment:3 Changed 8 years ago by
Status: | new → pending |
---|
It works just fine: http://jsbin.com/xugagejoni/1/edit?html,js,output
comment:4 Changed 8 years ago by
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 :
comment:5 Changed 8 years ago by
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.