aboutsummaryrefslogtreecommitdiffstats
path: root/themes/default/js/ui/jquery.ui.widget.js
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2014-06-24 20:16:59 +0000
committerrvelices <rv-github@modusoptimus.com>2014-06-24 20:16:59 +0000
commit09228a746f3a67ea80ab6cc6013f535da8332a64 (patch)
tree15107374e3de6b8da403af5b75f828c7ea77315b /themes/default/js/ui/jquery.ui.widget.js
parent03a3d1830cf67eb468bf4e48a879d2994055a492 (diff)
upgrade jquery ui from 1.10.1 to 1.10.4
git-svn-id: http://piwigo.org/svn/trunk@28780 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'themes/default/js/ui/jquery.ui.widget.js')
-rw-r--r--themes/default/js/ui/jquery.ui.widget.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/themes/default/js/ui/jquery.ui.widget.js b/themes/default/js/ui/jquery.ui.widget.js
index 342313536..1c0cbd173 100644
--- a/themes/default/js/ui/jquery.ui.widget.js
+++ b/themes/default/js/ui/jquery.ui.widget.js
@@ -1,8 +1,8 @@
/*!
- * jQuery UI Widget 1.10.1
+ * jQuery UI Widget 1.10.4
* http://jqueryui.com
*
- * Copyright 2013 jQuery Foundation and other contributors
+ * Copyright 2014 jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
@@ -106,7 +106,7 @@ $.widget = function( name, base, prototype ) {
// TODO: remove support for widgetEventPrefix
// always use the name + a colon as the prefix, e.g., draggable:start
// don't prefix for widgets that aren't DOM-based
- widgetEventPrefix: existingConstructor ? basePrototype.widgetEventPrefix : name
+ widgetEventPrefix: existingConstructor ? (basePrototype.widgetEventPrefix || name) : name
}, proxiedPrototype, {
constructor: constructor,
namespace: namespace,
@@ -315,12 +315,12 @@ $.Widget.prototype = {
curOption = curOption[ parts[ i ] ];
}
key = parts.pop();
- if ( value === undefined ) {
+ if ( arguments.length === 1 ) {
return curOption[ key ] === undefined ? null : curOption[ key ];
}
curOption[ key ] = value;
} else {
- if ( value === undefined ) {
+ if ( arguments.length === 1 ) {
return this.options[ key ] === undefined ? null : this.options[ key ];
}
options[ key ] = value;