diff options
author | Scott González <scott.gonzalez@gmail.com> | 2012-10-24 10:13:14 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-10-24 10:13:51 -0400 |
commit | 848ab485839b6dd26f2b6c6680141d95cab32ceb (patch) | |
tree | ffe5a909df9a53d21378e839bb567ed2ad6b5429 /ui/jquery.ui.widget.js | |
parent | ba752cf7eda841ded93688ab3167b5515fa1660c (diff) | |
download | jquery-ui-848ab485839b6dd26f2b6c6680141d95cab32ceb.tar.gz jquery-ui-848ab485839b6dd26f2b6c6680141d95cab32ceb.zip |
Widget: Use existing widgetEventPrefix when extending. Fixes #8724 - widgetEventPrefix is lost when extending existing widget.
Diffstat (limited to 'ui/jquery.ui.widget.js')
-rw-r--r-- | ui/jquery.ui.widget.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.widget.js b/ui/jquery.ui.widget.js index ccbe0cac5..eea12c471 100644 --- a/ui/jquery.ui.widget.js +++ b/ui/jquery.ui.widget.js @@ -101,7 +101,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: name + widgetEventPrefix: basePrototype.widgetEventPrefix || name }, prototype, { constructor: constructor, namespace: namespace, |