Skip to content

Commit

Permalink
Merge pull request #256 from dcneiner/button-blur
Browse files Browse the repository at this point in the history
Fixed #6242
  • Loading branch information
scottgonzalez committed May 13, 2011
2 parents 523790b + 8df834f commit dd00f7f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ui/jquery.ui.button.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ $.widget( "ui.button", {
// $.Widget.prototype._setOptionDisabled so it's easy to proxy and can // $.Widget.prototype._setOptionDisabled so it's easy to proxy and can
// be overridden by individual plugins // be overridden by individual plugins
this._setOption( "disabled", options.disabled ); this._setOption( "disabled", options.disabled );
this._resetButton();
}, },


_determineButtonType: function() { _determineButtonType: function() {
Expand Down Expand Up @@ -250,6 +251,7 @@ $.widget( "ui.button", {
} else { } else {
this.element.removeAttr( "disabled" ); this.element.removeAttr( "disabled" );
} }
return;
} }
this._resetButton(); this._resetButton();
}, },
Expand Down

0 comments on commit dd00f7f

Please sign in to comment.