aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.widget.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/jquery.ui.widget.js')
-rw-r--r--ui/jquery.ui.widget.js12
1 files changed, 11 insertions, 1 deletions
diff --git a/ui/jquery.ui.widget.js b/ui/jquery.ui.widget.js
index e09701d7b..0a4759023 100644
--- a/ui/jquery.ui.widget.js
+++ b/ui/jquery.ui.widget.js
@@ -66,9 +66,19 @@ $.widget = function( name, base, prototype ) {
return base.prototype[ method ].apply( this, args );
};
return function() {
+ var __super = this._super,
+ __superApply = this._superApply,
+ returnValue;
+
this._super = _super;
this._superApply = _superApply;
- return value.apply( this, arguments );
+
+ returnValue = value.apply( this, arguments );
+
+ this._super = __super;
+ this._superApply = __superApply;
+
+ return returnValue;
};
}());
}