Skip to main content

Search and Top Navigation

#5283 closed enhancement (notabug)

Opened March 05, 2010 01:21AM UTC

Closed March 05, 2010 02:36PM UTC

*FIX* for reset event in ui.button with custom themes

Reported by: mixir Owned by:
Priority: blocker Milestone: 1.8
Component: ui.button Version: 1.8rc3
Keywords: button, reset, mouseleave, active state Cc:
Blocked by: Blocking:
Description

add new line after 60 line in /jquery.ui.button.js

with code:

$( this ).blur();


56  .bind( "mouseleave.button", function() { 
57                                 if ( options.disabled ) { 
58                                         return; 
59                                 } 
60                                 $( this ).removeClass( hoverClass ); 
61                                 $( this ).blur(); /// Button custom themes reset fix
62                         })
Attachments (0)
Change History (3)

Changed March 05, 2010 02:11AM UTC by scottgonzalez comment:1

What is this supposed to be fixing? A fix without a bug isn't very helpful.

Changed March 05, 2010 10:49AM UTC by mixir comment:2

Replying to [comment:1 scott.gonzalez]:

What is this supposed to be fixing? A fix without a bug isn't very helpful.

After mouse click on button and leave mouse outside, button state stay like a hover (actually focused)

look at two first buttons at demo page http://jqueryui.com/demos/button/ , buttons are stay hovered after clicking on them and levae mouse out.

Changed March 05, 2010 02:36PM UTC by scottgonzalez comment:3

resolution: → invalid
status: newclosed

See this forum thread for an explanation of why this was closed.