Opened 12 years ago
Closed 12 years ago
#9151 closed bug (invalid)
Simple toggleClass() is not working correctly
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | low | Milestone: | 1.next |
Component: | attributes | Version: | 1.6 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Please see isolated bug
http://jsfiddle.net/adardesign/KMZbS/
Click "update" now user should be able to click and choose all tags, Now "save" And try to update again expected result = its should work again but it doesn't work till its "saved again" Tried multiple versions of jQuery.
I tried to debugg with console, and narrowed it down to the toggleClass() method. Thanks
Change History (5)
comment:1 follow-up: 2 Changed 12 years ago by
Component: | unfiled → attributes |
---|---|
Owner: | set to [email protected]… |
Priority: | undecided → low |
Status: | new → pending |
comment:2 Changed 12 years ago by
comment:3 Changed 12 years ago by
As am I. I've created a reduced test case because maybe I'm missing the problem.
http://jsfiddle.net/timmywil/RHsu4/
Please update mine to show the breakage if you could.
comment:4 Changed 12 years ago by
@ timmywil Thanks, i narrowed down the problem to a misuse of a closure. As in my case it captured the state of the element without the class.
Anyway, thanks. I think you can close this bug.
Thanks again.
comment:5 Changed 12 years ago by
Resolution: | → invalid |
---|---|
Status: | pending → closed |
Thank you for looking into it.
It works for me, which browser are you using?