Merge pull request #256 from dcneiner/button-blur

Fixed #6242
This commit is contained in:
Scott González 2011-05-12 17:48:25 -07:00
commit dd00f7f3b4

View File

@ -185,6 +185,7 @@ $.widget( "ui.button", {
// $.Widget.prototype._setOptionDisabled so it's easy to proxy and can
// be overridden by individual plugins
this._setOption( "disabled", options.disabled );
this._resetButton();
},
_determineButtonType: function() {
@ -250,6 +251,7 @@ $.widget( "ui.button", {
} else {
this.element.removeAttr( "disabled" );
}
return;
}
this._resetButton();
},