Bug 35681 - Upgrade jQuery UI to 1.8.18

http://blog.jqueryui.com/2012/02/jquery-ui-1-8-18/

Change-Id: I31e870279e239733437c7222c5e69be112e8aba1
This commit is contained in:
Reedy 2012-04-03 22:23:59 +01:00
parent 3c21e15cb2
commit 522814502d
49 changed files with 143 additions and 120 deletions

View file

@ -351,6 +351,7 @@ return array(
'fr' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-fr.js',
'gl' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-gl.js',
'he' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-he.js',
'hi' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-hi.js',
'hr' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-hr.js',
'hu' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-hu.js',
'hy' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-hy.js',
@ -359,6 +360,7 @@ return array(
'it' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-it.js',
'ja' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ja.js',
'kk' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-kk.js',
'km' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-km.js',
'ko' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ko.js',
'lb' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-lb.js',
'lt' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-lt.js',

View file

@ -1,5 +1,5 @@
/*
* jQuery UI Effects Blind 1.8.17
* jQuery UI Effects Blind 1.8.18
*
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.

View file

@ -1,5 +1,5 @@
/*
* jQuery UI Effects Bounce 1.8.17
* jQuery UI Effects Bounce 1.8.18
*
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.

View file

@ -1,5 +1,5 @@
/*
* jQuery UI Effects Clip 1.8.17
* jQuery UI Effects Clip 1.8.18
*
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.

View file

@ -1,5 +1,5 @@
/*
* jQuery UI Effects 1.8.17
* jQuery UI Effects 1.8.18
*
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
@ -306,7 +306,7 @@ $.fn.extend({
/******************************************************************************/
$.extend($.effects, {
version: "1.8.17",
version: "1.8.18",
// Saves a set of properties in a data storage
save: function(element, set) {

View file

@ -1,5 +1,5 @@
/*
* jQuery UI Effects Drop 1.8.17
* jQuery UI Effects Drop 1.8.18
*
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.

View file

@ -1,5 +1,5 @@
/*
* jQuery UI Effects Explode 1.8.17
* jQuery UI Effects Explode 1.8.18
*
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.

View file

@ -1,5 +1,5 @@
/*
* jQuery UI Effects Fade 1.8.17
* jQuery UI Effects Fade 1.8.18
*
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.

View file

@ -1,5 +1,5 @@
/*
* jQuery UI Effects Fold 1.8.17
* jQuery UI Effects Fold 1.8.18
*
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.

View file

@ -1,5 +1,5 @@
/*
* jQuery UI Effects Highlight 1.8.17
* jQuery UI Effects Highlight 1.8.18
*
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.

View file

@ -1,5 +1,5 @@
/*
* jQuery UI Effects Pulsate 1.8.17
* jQuery UI Effects Pulsate 1.8.18
*
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.

View file

@ -1,5 +1,5 @@
/*
* jQuery UI Effects Scale 1.8.17
* jQuery UI Effects Scale 1.8.18
*
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.

View file

@ -1,5 +1,5 @@
/*
* jQuery UI Effects Shake 1.8.17
* jQuery UI Effects Shake 1.8.18
*
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.

View file

@ -1,5 +1,5 @@
/*
* jQuery UI Effects Slide 1.8.17
* jQuery UI Effects Slide 1.8.18
*
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.

View file

@ -1,5 +1,5 @@
/*
* jQuery UI Effects Transfer 1.8.17
* jQuery UI Effects Transfer 1.8.18
*
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.

View file

@ -8,8 +8,8 @@ jQuery(function($){
currentText: 'היום',
monthNames: ['ינואר','פברואר','מרץ','אפריל','מאי','יוני',
'יולי','אוגוסט','ספטמבר','אוקטובר','נובמבר','דצמבר'],
monthNamesShort: ['1','2','3','4','5','6',
'7','8','9','10','11','12'],
monthNamesShort: ['ינו','פבר','מרץ','אפר','מאי','יוני',
'יולי','אוג','ספט','אוק','נוב','דצמ'],
dayNames: ['ראשון','שני','שלישי','רביעי','חמישי','שישי','שבת'],
dayNamesShort: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'],
dayNamesMin: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'],

View file

@ -0,0 +1,23 @@
/* Hindi initialisation for the jQuery UI date picker plugin. */
/* Written by Michael Dawart. */
jQuery(function($){
$.datepicker.regional['hi'] = {
closeText: 'होकर',
prevText: 'अगला',
nextText: 'नेक्स्ट',
currentText: 'आज',
monthNames: ['जनवरी ','फरवरी','मार्च','अप्रेल','मै','जून',
'जूलाई','अगस्त ','सितम्बर','आक्टोबर','नवम्बर','दिसम्बर'],
monthNamesShort: ['जन', 'फर', 'मार्च', 'अप्रेल', 'मै', 'जून',
'जूलाई', 'अग', 'सित', 'आक्ट', 'नव', 'िद'],
dayNames: ['रविवासर', 'सोमवासर', 'मंगलवासर', 'बुधवासर', 'गुरुवासर', 'शुक्रवासर', 'शनिवासर'],
dayNamesShort: ['रवि', 'सोम', 'मंगल', 'बुध', 'गुरु', 'शुक्र', 'शनि'],
dayNamesMin: ['रवि', 'सोम', 'मंगल', 'बुध', 'गुरु', 'शुक्र', 'शनि'],
weekHeader: 'हफ्ता',
dateFormat: 'mm/dd/yy',
firstDay: 1,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['hi']);
});

View file

@ -0,0 +1,23 @@
/* Khmer initialisation for the jQuery calendar extension. */
/* Written by Chandara Om (chandara.teacher@gmail.com). */
jQuery(function($){
$.datepicker.regional['km'] = {
closeText: 'ធ្វើ​រួច',
prevText: 'មុន',
nextText: 'បន្ទាប់',
currentText: 'ថ្ងៃ​នេះ',
monthNames: ['មករា','កុម្ភៈ','មីនា','មេសា','ឧសភា','មិថុនា',
'កក្កដា','សីហា','កញ្ញា','តុលា','វិច្ឆិកា','ធ្នូ'],
monthNamesShort: ['មករា','កុម្ភៈ','មីនា','មេសា','ឧសភា','មិថុនា',
'កក្កដា','សីហា','កញ្ញា','តុលា','វិច្ឆិកា','ធ្នូ'],
dayNames: ['អាទិត្យ', 'ចន្ទ', 'អង្គារ', 'ពុធ', 'ព្រហស្បតិ៍', 'សុក្រ', 'សៅរ៍'],
dayNamesShort: ['អា', 'ច', 'អ', 'ពុ', 'ព្រហ', 'សុ', 'សៅ'],
dayNamesMin: ['អា', 'ច', 'អ', 'ពុ', 'ព្រហ', 'សុ', 'សៅ'],
weekHeader: 'សប្ដាហ៍',
dateFormat: 'dd-mm-yy',
firstDay: 1,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['km']);
});

View file

@ -1,23 +1,23 @@
/* Korean initialisation for the jQuery calendar extension. */
/* Written by DaeKwon Kang (ncrash.dk@gmail.com). */
/* Written by DaeKwon Kang (ncrash.dk@gmail.com), Edited by Genie. */
jQuery(function($){
$.datepicker.regional['ko'] = {
closeText: '닫기',
prevText: '이전달',
nextText: '다음달',
currentText: '오늘',
monthNames: ['1월(JAN)','2월(FEB)','3월(MAR)','4월(APR)','5월(MAY)','6월(JUN)',
'7월(JUL)','8월(AUG)','9월(SEP)','10월(OCT)','11월(NOV)','12월(DEC)'],
monthNamesShort: ['1월(JAN)','2월(FEB)','3월(MAR)','4월(APR)','5월(MAY)','6월(JUN)',
'7월(JUL)','8월(AUG)','9월(SEP)','10월(OCT)','11월(NOV)','12월(DEC)'],
dayNames: ['일','월','화','수','목','금','토'],
monthNames: ['1월','2월','3월','4월','5월','6월',
'7월','8월','9월','10월','11월','12월'],
monthNamesShort: ['1월','2월','3월','4월','5월','6월',
'7월','8월','9월','10월','11월','12월'],
dayNames: ['일요일','월요일','화요일','수요일','목요일','금요일','토요일'],
dayNamesShort: ['일','월','화','수','목','금','토'],
dayNamesMin: ['일','월','화','수','목','금','토'],
weekHeader: 'Wk',
dateFormat: 'yy-mm-dd',
firstDay: 0,
isRTL: false,
showMonthAfterYear: false,
showMonthAfterYear: true,
yearSuffix: '년'};
$.datepicker.setDefaults($.datepicker.regional['ko']);
});

View file

@ -14,7 +14,7 @@ jQuery(function($){
dayNamesShort: ['Нед','Пон','Вто','Сре','Чет','Пет','Саб'],
dayNamesMin: ['Не','По','Вт','Ср','Че','Пе','Са'],
weekHeader: 'Сед',
dateFormat: 'dd/mm/yy',
dateFormat: 'dd.mm.yy',
firstDay: 1,
isRTL: false,
showMonthAfterYear: false,

View file

@ -1,5 +1,5 @@
/*
* jQuery UI Accordion 1.8.17
* jQuery UI Accordion 1.8.18
*
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
@ -518,7 +518,7 @@ $.widget( "ui.accordion", {
});
$.extend( $.ui.accordion, {
version: "1.8.17",
version: "1.8.18",
animations: {
slide: function( options, additions ) {
options = $.extend({

View file

@ -1,5 +1,5 @@
/*
* jQuery UI Autocomplete 1.8.17
* jQuery UI Autocomplete 1.8.18
*
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
@ -268,7 +268,9 @@ $.widget( "ui.autocomplete", {
url: url,
data: request,
dataType: "json",
autocompleteRequest: ++requestIndex,
context: {
autocompleteRequest: ++requestIndex
},
success: function( data, status ) {
if ( this.autocompleteRequest === requestIndex ) {
response( data );

View file

@ -1,5 +1,5 @@
/*
* jQuery UI Button 1.8.17
* jQuery UI Button 1.8.18
*
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
@ -56,7 +56,9 @@ $.widget( "ui.button", {
.bind( "reset.button", formResetHandler );
if ( typeof this.options.disabled !== "boolean" ) {
this.options.disabled = this.element.propAttr( "disabled" );
this.options.disabled = !!this.element.propAttr( "disabled" );
} else {
this.element.propAttr( "disabled", this.options.disabled );
}
this._determineButtonType();
@ -72,10 +74,6 @@ $.widget( "ui.button", {
options.label = this.buttonElement.html();
}
if ( this.element.is( ":disabled" ) ) {
options.disabled = true;
}
this.buttonElement
.addClass( baseClasses )
.attr( "role", "button" )

View file

@ -1,5 +1,5 @@
/*!
* jQuery UI 1.8.17
* jQuery UI 1.8.18
*
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
@ -18,7 +18,7 @@ if ( $.ui.version ) {
}
$.extend( $.ui, {
version: "1.8.17",
version: "1.8.18",
keyCode: {
ALT: 18,
@ -225,6 +225,11 @@ $(function() {
var body = document.body,
div = body.appendChild( div = document.createElement( "div" ) );
// access offsetHeight before setting the style to prevent a layout bug
// in IE 9 which causes the elemnt to continue to take up space even
// after it is removed from the DOM (#8026)
div.offsetHeight;
$.extend( div.style, {
minHeight: "100px",
height: "auto",

View file

@ -1,5 +1,5 @@
/*
* jQuery UI Datepicker 1.8.17
* jQuery UI Datepicker 1.8.18
*
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
@ -12,7 +12,7 @@
*/
(function( $, undefined ) {
$.extend($.ui, { datepicker: { version: "1.8.17" } });
$.extend($.ui, { datepicker: { version: "1.8.18" } });
var PROP_NAME = 'datepicker';
var dpuuid = new Date().getTime();
@ -233,7 +233,10 @@ $.extend(Datepicker.prototype, {
inst.trigger.click(function() {
if ($.datepicker._datepickerShowing && $.datepicker._lastInput == input[0])
$.datepicker._hideDatepicker();
else
else if ($.datepicker._datepickerShowing && $.datepicker._lastInput != input[0]) {
$.datepicker._hideDatepicker();
$.datepicker._showDatepicker(input[0]);
} else
$.datepicker._showDatepicker(input[0]);
return false;
});
@ -842,7 +845,7 @@ $.extend(Datepicker.prototype, {
if ( ( ( $target[0].id != $.datepicker._mainDivId &&
$target.parents('#' + $.datepicker._mainDivId).length == 0 &&
!$target.hasClass($.datepicker.markerClassName) &&
!$target.hasClass($.datepicker._triggerClass) &&
!$target.closest("." + $.datepicker._triggerClass).length &&
$.datepicker._datepickerShowing && !($.datepicker._inDialog && $.blockUI) ) ) ||
( $target.hasClass($.datepicker.markerClassName) && $.datepicker._curInst != inst ) )
$.datepicker._hideDatepicker();
@ -1814,7 +1817,7 @@ $.fn.datepicker = function(options){
$.datepicker = new Datepicker(); // singleton instance
$.datepicker.initialized = false;
$.datepicker.uuid = new Date().getTime();
$.datepicker.version = "1.8.17";
$.datepicker.version = "1.8.18";
// Workaround for #4055
// Add another global to avoid noConflict issues with inline event handlers

View file

@ -1,5 +1,5 @@
/*
* jQuery UI Dialog 1.8.17
* jQuery UI Dialog 1.8.18
*
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
@ -702,7 +702,7 @@ $.widget("ui.dialog", {
});
$.extend($.ui.dialog, {
version: "1.8.17",
version: "1.8.18",
uuid: 0,
maxZ: 0,

View file

@ -1,5 +1,5 @@
/*
* jQuery UI Draggable 1.8.17
* jQuery UI Draggable 1.8.18
*
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
@ -505,7 +505,7 @@ $.widget("ui.draggable", $.ui.mouse, {
});
$.extend($.ui.draggable, {
version: "1.8.17"
version: "1.8.18"
});
$.ui.plugin.add("draggable", "connectToSortable", {

View file

@ -1,5 +1,5 @@
/*
* jQuery UI Droppable 1.8.17
* jQuery UI Droppable 1.8.18
*
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
@ -147,7 +147,7 @@ $.widget("ui.droppable", {
});
$.extend($.ui.droppable, {
version: "1.8.17"
version: "1.8.18"
});
$.ui.intersect = function(draggable, droppable, toleranceMode) {

View file

@ -1,5 +1,5 @@
/*!
* jQuery UI Mouse 1.8.17
* jQuery UI Mouse 1.8.18
*
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.

View file

@ -1,5 +1,5 @@
/*
* jQuery UI Position 1.8.17
* jQuery UI Position 1.8.18
*
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
@ -269,7 +269,7 @@ if ( !$.offset.setOffset ) {
background: "none"
};
if ( body ) {
jQuery.extend( testElementStyle, {
$.extend( testElementStyle, {
position: "absolute",
left: "-1000px",
top: "-1000px"

View file

@ -1,5 +1,5 @@
/*
* jQuery UI Progressbar 1.8.17
* jQuery UI Progressbar 1.8.18
*
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
@ -103,7 +103,7 @@ $.widget( "ui.progressbar", {
});
$.extend( $.ui.progressbar, {
version: "1.8.17"
version: "1.8.18"
});
})( jQuery );

View file

@ -1,5 +1,5 @@
/*
* jQuery UI Resizable 1.8.17
* jQuery UI Resizable 1.8.18
*
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
@ -50,10 +50,6 @@ $.widget("ui.resizable", $.ui.mouse, {
//Wrap the element if it cannot hold child nodes
if(this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)) {
//Opera fix for relative positioning
if (/relative/.test(this.element.css('position')) && $.browser.opera)
this.element.css({ position: 'relative', top: 'auto', left: 'auto' });
//Create a wrapper element and set the wrapper to the new current internal element
this.element.wrap(
$('<div class="ui-wrapper" style="overflow: hidden;"></div>').css({
@ -247,10 +243,6 @@ $.widget("ui.resizable", $.ui.mouse, {
el.css({ position: 'absolute', top: iniPos.top, left: iniPos.left });
}
//Opera fixing relative position
if ($.browser.opera && (/relative/).test(el.css('position')))
el.css({ position: 'relative', top: 'auto', left: 'auto' });
this._renderProxy();
var curleft = num(this.helper.css('left')), curtop = num(this.helper.css('top'));
@ -549,7 +541,7 @@ $.widget("ui.resizable", $.ui.mouse, {
});
$.extend($.ui.resizable, {
version: "1.8.17"
version: "1.8.18"
});
/*
@ -566,8 +558,7 @@ $.ui.plugin.add("resizable", "alsoResize", {
var el = $(this);
el.data("resizable-alsoresize", {
width: parseInt(el.width(), 10), height: parseInt(el.height(), 10),
left: parseInt(el.css('left'), 10), top: parseInt(el.css('top'), 10),
position: el.css('position') // to reset Opera on stop()
left: parseInt(el.css('left'), 10), top: parseInt(el.css('top'), 10)
});
});
};
@ -599,12 +590,6 @@ $.ui.plugin.add("resizable", "alsoResize", {
style[prop] = sum || null;
});
// Opera fixing relative position
if ($.browser.opera && /relative/.test(el.css('position'))) {
self._revertToRelativePosition = true;
el.css({ position: 'absolute', top: 'auto', left: 'auto' });
}
el.css(style);
});
};
@ -617,25 +602,6 @@ $.ui.plugin.add("resizable", "alsoResize", {
},
stop: function (event, ui) {
var self = $(this).data("resizable"), o = self.options;
var _reset = function (exp) {
$(exp).each(function() {
var el = $(this);
// reset position for Opera - no need to verify it was changed
el.css({ position: el.data("resizable-alsoresize").position });
});
};
if (self._revertToRelativePosition) {
self._revertToRelativePosition = false;
if (typeof(o.alsoResize) == 'object' && !o.alsoResize.nodeType) {
$.each(o.alsoResize, function (exp) { _reset(exp); });
}else{
_reset(o.alsoResize);
}
}
$(this).removeData("resizable-alsoresize");
}
});

View file

@ -1,5 +1,5 @@
/*
* jQuery UI Selectable 1.8.17
* jQuery UI Selectable 1.8.18
*
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
@ -261,7 +261,7 @@ $.widget("ui.selectable", $.ui.mouse, {
});
$.extend($.ui.selectable, {
version: "1.8.17"
version: "1.8.18"
});
})(jQuery);

View file

@ -1,5 +1,5 @@
/*
* jQuery UI Slider 1.8.17
* jQuery UI Slider 1.8.18
*
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
@ -115,8 +115,7 @@ $.widget( "ui.slider", $.ui.mouse, {
this.handles
.keydown(function( event ) {
var ret = true,
index = $( this ).data( "index.ui-slider-handle" ),
var index = $( this ).data( "index.ui-slider-handle" ),
allowed,
curVal,
newVal,
@ -135,7 +134,7 @@ $.widget( "ui.slider", $.ui.mouse, {
case $.ui.keyCode.RIGHT:
case $.ui.keyCode.DOWN:
case $.ui.keyCode.LEFT:
ret = false;
event.preventDefault();
if ( !self._keySliding ) {
self._keySliding = true;
$( this ).addClass( "ui-state-active" );
@ -184,9 +183,6 @@ $.widget( "ui.slider", $.ui.mouse, {
}
self._slide( event, index, newVal );
return ret;
})
.keyup(function( event ) {
var index = $( this ).data( "index.ui-slider-handle" );
@ -660,7 +656,7 @@ $.widget( "ui.slider", $.ui.mouse, {
});
$.extend( $.ui.slider, {
version: "1.8.17"
version: "1.8.18"
});
}(jQuery));

View file

@ -1,5 +1,5 @@
/*
* jQuery UI Sortable 1.8.17
* jQuery UI Sortable 1.8.18
*
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
@ -16,6 +16,7 @@
$.widget("ui.sortable", $.ui.mouse, {
widgetEventPrefix: "sort",
ready: false,
options: {
appendTo: "parent",
axis: false,
@ -57,10 +58,14 @@ $.widget("ui.sortable", $.ui.mouse, {
//Initialize mouse events for interaction
this._mouseInit();
//We're ready to go
this.ready = true
},
destroy: function() {
$.Widget.prototype.destroy.call( this );
this.element
.removeClass("ui-sortable ui-sortable-disabled");
this._mouseDestroy();
@ -571,7 +576,7 @@ $.widget("ui.sortable", $.ui.mouse, {
var queries = [[$.isFunction(this.options.items) ? this.options.items.call(this.element[0], event, { item: this.currentItem }) : $(this.options.items, this.element), this]];
var connectWith = this._connectWith();
if(connectWith) {
if(connectWith && this.ready) { //Shouldn't be run the first time through due to massive slow-down
for (var i = connectWith.length - 1; i >= 0; i--){
var cur = $(connectWith[i]);
for (var j = cur.length - 1; j >= 0; j--){
@ -1070,7 +1075,7 @@ $.widget("ui.sortable", $.ui.mouse, {
});
$.extend($.ui.sortable, {
version: "1.8.17"
version: "1.8.18"
});
})(jQuery);

View file

@ -1,5 +1,5 @@
/*
* jQuery UI Tabs 1.8.17
* jQuery UI Tabs 1.8.18
*
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
@ -698,7 +698,7 @@ $.widget( "ui.tabs", {
});
$.extend( $.ui.tabs, {
version: "1.8.17"
version: "1.8.18"
});
/*

View file

@ -1,5 +1,5 @@
/*!
* jQuery UI Widget 1.8.17
* jQuery UI Widget 1.8.18
*
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.

View file

@ -1,5 +1,5 @@
/*
* jQuery UI Accordion 1.8.17
* jQuery UI Accordion 1.8.18
*
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.

View file

@ -1,5 +1,5 @@
/*
* jQuery UI Autocomplete 1.8.17
* jQuery UI Autocomplete 1.8.18
*
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
@ -13,7 +13,7 @@
* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */
/*
* jQuery UI Menu 1.8.17
* jQuery UI Menu 1.8.18
*
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.

View file

@ -1,5 +1,5 @@
/*
* jQuery UI Button 1.8.17
* jQuery UI Button 1.8.18
*
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
@ -7,7 +7,7 @@
*
* http://docs.jquery.com/UI/Button#theming
*/
.ui-button { display: inline-block; position: relative; padding: 0; margin-right: .1em; text-decoration: none !important; cursor: pointer; text-align: center; zoom: 1; overflow: visible; } /* the overflow property removes extra width in IE */
.ui-button { display: inline-block; position: relative; padding: 0; margin-right: .1em; text-decoration: none !important; cursor: pointer; text-align: center; zoom: 1; overflow: hidden; *overflow: visible; } /* the overflow property removes extra width in IE */
.ui-button-icon-only { width: 2.2em; } /* to make room for the icon, a width needs to be set here */
button.ui-button-icon-only { width: 2.4em; } /* button elements seem to need a little more width */
.ui-button-icons-only { width: 3.4em; }

View file

@ -1,5 +1,5 @@
/*
* jQuery UI CSS Framework 1.8.17
* jQuery UI CSS Framework 1.8.18
*
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.

View file

@ -1,5 +1,5 @@
/*
* jQuery UI Datepicker 1.8.17
* jQuery UI Datepicker 1.8.18
*
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.

View file

@ -1,5 +1,5 @@
/*
* jQuery UI Dialog 1.8.17
* jQuery UI Dialog 1.8.18
*
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.

View file

@ -1,5 +1,5 @@
/*
* jQuery UI Progressbar 1.8.17
* jQuery UI Progressbar 1.8.18
*
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.

View file

@ -1,5 +1,5 @@
/*
* jQuery UI Resizable 1.8.17
* jQuery UI Resizable 1.8.18
*
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.

View file

@ -1,5 +1,5 @@
/*
* jQuery UI Selectable 1.8.17
* jQuery UI Selectable 1.8.18
*
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.

View file

@ -1,5 +1,5 @@
/*
* jQuery UI Slider 1.8.17
* jQuery UI Slider 1.8.18
*
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.

View file

@ -1,5 +1,5 @@
/*
* jQuery UI Tabs 1.8.17
* jQuery UI Tabs 1.8.18
*
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.

View file

@ -1,5 +1,5 @@
/*
* jQuery UI CSS Framework 1.8.17
* jQuery UI CSS Framework 1.8.18
*
* Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.