Skip to main content

Search and Top Navigation

#9935 closed bug (invalid)

Opened March 27, 2014 10:13AM UTC

Closed April 11, 2014 08:55AM UTC

$.Widget.prototype._setOption takes time to disable widget

Reported by: nabilELMEKKAOUI Owned by: nabilELMEKKAOUI
Priority: minor Milestone: none
Component: ui.widget Version: 1.9.2
Keywords: Cc:
Blocked by: Blocking:
Description

$.Widget.prototype._setOption takes time to disable widget.

When this.focusable().removeClass( "ui-state-focus" ); is called the class "ui-state-focus" is not removed.

I had to change it to :

this.widget().removeClass( "ui-state-hover" );

this.widget().removeClass( "ui-state-focus" );

Attachments (0)
Change History (2)

Changed March 27, 2014 12:27PM UTC by tj.vantoll comment:1

owner: → nabilELMEKKAOUI
status: newpending

Hi nabilELMEKKAOUI,

Thanks for taking the time to contribute to jQuery UI. I'm not sure I understand the problem you're having.

_setOption()
runs synchronously, so it shouldn't take time to disable the widget. Can you please create a test case that shows the issue you're experiencing? You can use this as a starting point: http://jsfiddle.net/tj_vantoll/Es8ZS/.

Changed April 11, 2014 08:55AM UTC by trac-o-bot comment:2

resolution: → invalid
status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!