diff options
author | Scott González <scott.gonzalez@gmail.com> | 2011-05-12 17:48:25 -0700 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2011-05-12 17:48:25 -0700 |
commit | dd00f7f3b4ebfa8d2df6119148bf5120721d3abc (patch) | |
tree | bbfe45911e8ffaf11b543c1b2e0816aa6c73ad83 /ui/jquery.ui.button.js | |
parent | 523790b111558d88b83d23e5b3f5c65a58b7dae5 (diff) | |
parent | 8df834f68c4337cb6d128360c76a4621f050bd60 (diff) | |
download | jquery-ui-dd00f7f3b4ebfa8d2df6119148bf5120721d3abc.tar.gz jquery-ui-dd00f7f3b4ebfa8d2df6119148bf5120721d3abc.zip |
Merge pull request #256 from dcneiner/button-blur
Fixed #6242
Diffstat (limited to 'ui/jquery.ui.button.js')
-rw-r--r-- | ui/jquery.ui.button.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/jquery.ui.button.js b/ui/jquery.ui.button.js index 06d2ad6bb..9c2be5fb5 100644 --- a/ui/jquery.ui.button.js +++ b/ui/jquery.ui.button.js @@ -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(); }, |