diff options
author | Scott González <scott.gonzalez@gmail.com> | 2009-03-28 00:06:34 +0000 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2009-03-28 00:06:34 +0000 |
commit | 4e64af70b655b30c89235911e91ea23e029faf8f (patch) | |
tree | ae579eb7bab414d3af970a8a47d1fc38c2f04215 /ui | |
parent | 3aab07e577340b28990177e0c6911fe9609f9800 (diff) | |
download | jquery-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.js | 2 |
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], |