Search and Top Navigation
#6242 closed bug (fixed)
Opened October 29, 2010 12:11PM UTC
Closed May 13, 2011 12:48AM UTC
Last modified May 13, 2011 12:49AM UTC
Button .enable() strange behavior on Webkit (Google Chrome, Safari)
Reported by: | morozov | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.8.14 |
Component: | ui.button | Version: | 1.8.1 |
Keywords: | button enable blur | Cc: | |
Blocked by: | Blocking: |
Description
If to enable a button right before it's clicked, it seems to be disabled.
A way to reproduce:
- open attached file
- put cursor to the text input
- click the button
the "click" event was not fired
Attachments (1)
Change History (10)
Changed October 29, 2010 12:23PM UTC by comment:1
milestone: | TBD → 1.9 |
---|
Changed March 28, 2011 08:19PM UTC by comment:2
milestone: | 1.9 → 1.8.10 |
---|
this is a valid bug, here is the test case: http://jsbin.com/ohene4
It looks like it was resolved in 1.8.10
Changed March 28, 2011 08:19PM UTC by comment:3
resolution: | → fixed |
---|---|
status: | new → closed |
Changed March 28, 2011 08:32PM UTC by comment:4
milestone: | 1.8.10 |
---|---|
resolution: | fixed |
status: | closed → reopened |
I still see the problem in 1.8.10 (and 1.8.11).
Changed March 28, 2011 08:32PM UTC by comment:5
milestone: | → 1.9 |
---|---|
status: | reopened → open |
Changed March 28, 2011 08:48PM UTC by comment:6
My mistake. Looks like if you click the edge of the button, it works. But if you click the text, it doesn't work. plot thickens...
Changed May 12, 2011 05:24AM UTC by comment:7
This problem is caused by the call to _resetButton that was triggered as a result of changing the disabled
option.
Fix here: https://github.com/jquery/jquery-ui/pull/256
Demo here: http://jsbin.com/ohene4/9
Changed May 13, 2011 12:48AM UTC by comment:8
Changed May 13, 2011 12:49AM UTC by comment:9
Button: no longer calls _resetButton() after changing the disabled option. Fixed #6242 - Button .enable() strange behavior on Webkit (Google Chrome, Safari)
(cherry picked from commit 8df834f68c4337cb6d128360c76a4621f050bd60)
Changeset: 3842fa9f948283fa4bab9a99ad8d0a8a2adcc175
Changed May 13, 2011 12:49AM UTC by comment:10
milestone: | 1.9 → 1.8.14 |
---|