mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
FIX Manually fix issue in jquery-ui 1.9
This commit is contained in:
parent
2316b0da9f
commit
abaebbe1d7
9
thirdparty/jquery-ui/jquery-ui.js
vendored
9
thirdparty/jquery-ui/jquery-ui.js
vendored
@ -3,6 +3,12 @@
|
|||||||
* Includes: jquery.ui.core.js, jquery.ui.widget.js, jquery.ui.mouse.js, jquery.ui.position.js, jquery.ui.accordion.js, jquery.ui.autocomplete.js, jquery.ui.button.js, jquery.ui.datepicker.js, jquery.ui.dialog.js, jquery.ui.draggable.js, jquery.ui.droppable.js, jquery.ui.effect.js, jquery.ui.effect-blind.js, jquery.ui.effect-bounce.js, jquery.ui.effect-clip.js, jquery.ui.effect-drop.js, jquery.ui.effect-explode.js, jquery.ui.effect-fade.js, jquery.ui.effect-fold.js, jquery.ui.effect-highlight.js, jquery.ui.effect-pulsate.js, jquery.ui.effect-scale.js, jquery.ui.effect-shake.js, jquery.ui.effect-slide.js, jquery.ui.effect-transfer.js, jquery.ui.menu.js, jquery.ui.progressbar.js, jquery.ui.resizable.js, jquery.ui.selectable.js, jquery.ui.slider.js, jquery.ui.sortable.js, jquery.ui.spinner.js, jquery.ui.tabs.js, jquery.ui.tooltip.js
|
* Includes: jquery.ui.core.js, jquery.ui.widget.js, jquery.ui.mouse.js, jquery.ui.position.js, jquery.ui.accordion.js, jquery.ui.autocomplete.js, jquery.ui.button.js, jquery.ui.datepicker.js, jquery.ui.dialog.js, jquery.ui.draggable.js, jquery.ui.droppable.js, jquery.ui.effect.js, jquery.ui.effect-blind.js, jquery.ui.effect-bounce.js, jquery.ui.effect-clip.js, jquery.ui.effect-drop.js, jquery.ui.effect-explode.js, jquery.ui.effect-fade.js, jquery.ui.effect-fold.js, jquery.ui.effect-highlight.js, jquery.ui.effect-pulsate.js, jquery.ui.effect-scale.js, jquery.ui.effect-shake.js, jquery.ui.effect-slide.js, jquery.ui.effect-transfer.js, jquery.ui.menu.js, jquery.ui.progressbar.js, jquery.ui.resizable.js, jquery.ui.selectable.js, jquery.ui.slider.js, jquery.ui.sortable.js, jquery.ui.spinner.js, jquery.ui.tabs.js, jquery.ui.tooltip.js
|
||||||
* Copyright (c) 2012 jQuery Foundation and other contributors Licensed MIT */
|
* Copyright (c) 2012 jQuery Foundation and other contributors Licensed MIT */
|
||||||
|
|
||||||
|
/*!
|
||||||
|
* Contains fix for 1.10 back ported manually
|
||||||
|
* https://github.com/jquery/jquery-ui/commit/c241313f1d31b18751a81c1321662512d8086cbc
|
||||||
|
* plus a fix to ui.selectable widgetEventPrefix being incorrect
|
||||||
|
*/
|
||||||
|
|
||||||
(function( $, undefined ) {
|
(function( $, undefined ) {
|
||||||
|
|
||||||
var uuid = 0,
|
var uuid = 0,
|
||||||
@ -442,7 +448,7 @@ $.widget = function( name, base, prototype ) {
|
|||||||
// TODO: remove support for widgetEventPrefix
|
// TODO: remove support for widgetEventPrefix
|
||||||
// always use the name + a colon as the prefix, e.g., draggable:start
|
// always use the name + a colon as the prefix, e.g., draggable:start
|
||||||
// don't prefix for widgets that aren't DOM-based
|
// don't prefix for widgets that aren't DOM-based
|
||||||
widgetEventPrefix: existingConstructor ? basePrototype.widgetEventPrefix : name
|
widgetEventPrefix: existingConstructor ? (basePrototype.widgetEventPrefix || name) : name
|
||||||
}, prototype, {
|
}, prototype, {
|
||||||
constructor: constructor,
|
constructor: constructor,
|
||||||
namespace: namespace,
|
namespace: namespace,
|
||||||
@ -10727,6 +10733,7 @@ var isNumber = function(value) {
|
|||||||
|
|
||||||
$.widget("ui.selectable", $.ui.mouse, {
|
$.widget("ui.selectable", $.ui.mouse, {
|
||||||
version: "1.9.2",
|
version: "1.9.2",
|
||||||
|
widgetEventPrefix: 'selectable',
|
||||||
options: {
|
options: {
|
||||||
appendTo: 'body',
|
appendTo: 'body',
|
||||||
autoRefresh: true,
|
autoRefresh: true,
|
||||||
|
24
thirdparty/jquery-ui/jquery-ui.min.js
vendored
24
thirdparty/jquery-ui/jquery-ui.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user