aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.button.js
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2011-11-18 12:19:32 +0100
committerJörn Zaefferer <joern.zaefferer@gmail.com>2011-11-18 17:08:40 +0100
commit66f9e12797c16d8fa9078f45401f08f0f200e1bc (patch)
tree5a52c50785e9cef79005d05e995e4257d02ad034 /ui/jquery.ui.button.js
parente6f55967abdbd7ff6a0717237ab684391a150efc (diff)
downloadjquery-ui-66f9e12797c16d8fa9078f45401f08f0f200e1bc.tar.gz
jquery-ui-66f9e12797c16d8fa9078f45401f08f0f200e1bc.zip
Widget: Remove method argument from _super and _superApply. Was a left-over from first implementation, not necessary anymore.
Diffstat (limited to 'ui/jquery.ui.button.js')
-rw-r--r--ui/jquery.ui.button.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/ui/jquery.ui.button.js b/ui/jquery.ui.button.js
index 20eb2ca89..18a950563 100644
--- a/ui/jquery.ui.button.js
+++ b/ui/jquery.ui.button.js
@@ -269,7 +269,7 @@ $.widget( "ui.button", {
},
_setOption: function( key, value ) {
- this._super( "_setOption", key, value );
+ this._super( key, value );
if ( key === "disabled" ) {
if ( value ) {
this.element.prop( "disabled", true );
@@ -326,7 +326,7 @@ $.widget( "ui.button", {
.text(),
icons = this.options.icons,
multipleIcons = icons.primary && icons.secondary,
- buttonClasses = [];
+ buttonClasses = [];
if ( icons.primary || icons.secondary ) {
if ( this.options.text ) {
@@ -365,7 +365,7 @@ $.widget( "ui.buttonset", {
_create: function() {
this.element.addClass( "ui-buttonset" );
},
-
+
_init: function() {
this.refresh();
},
@@ -375,12 +375,12 @@ $.widget( "ui.buttonset", {
this.buttons.button( "option", key, value );
}
- this._super( "_setOption", key, value );
+ this._super( key, value );
},
-
+
refresh: function() {
var rtl = this.element.css( "direction" ) === "rtl";
-
+
this.buttons = this.element.find( this.options.items )
.filter( ":ui-button" )
.button( "refresh" )