aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2009-03-28 00:06:34 +0000
committerScott González <scott.gonzalez@gmail.com>2009-03-28 00:06:34 +0000
commit4e64af70b655b30c89235911e91ea23e029faf8f (patch)
treeae579eb7bab414d3af970a8a47d1fc38c2f04215 /ui
parent3aab07e577340b28990177e0c6911fe9609f9800 (diff)
downloadjquery-ui-4e64af70b655b30c89235911e91ea23e029faf8f.tar.gz
jquery-ui-4e64af70b655b30c89235911e91ea23e029faf8f.zip
Widget factory: Fixed #4366 - Deep copy options on init.
Diffstat (limited to 'ui')
-rw-r--r--ui/ui.core.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/ui.core.js b/ui/ui.core.js
index bcf330c95..7c1ea8ca9 100644
--- a/ui/ui.core.js
+++ b/ui/ui.core.js
@@ -261,7 +261,7 @@ $.widget = function(name, prototype) {
this.widgetEventPrefix = $[namespace][name].eventPrefix || name;
this.widgetBaseClass = namespace + '-' + name;
- this.options = $.extend({},
+ this.options = $.extend(true, {},
$.widget.defaults,
$[namespace][name].defaults,
$.metadata && $.metadata.get(element)[name],