commit 02199e817f189f2c6236abe5bcd239a5ac539a6b
Author: Jan Pokorný <jpokorny(a)redhat.com>
Date: Sat Feb 25 21:18:42 2012 +0100
bump jQuery UI: 1.8.18
Signed-off-by: Jan Pokorný <jpokorny(a)redhat.com>
third-party/git-jquery-ui | 2 +-
third-party/jquery-ui/themes/base/jquery-ui.css | 28 ++--
third-party/jquery-ui/ui/i18n/jquery-ui-i18n.js | 71 ++++++++--
third-party/jquery-ui/ui/jquery-ui.js | 167 ++++++++++-------------
4 files changed, 145 insertions(+), 123 deletions(-)
---
diff --git a/third-party/git-jquery-ui b/third-party/git-jquery-ui
index f74537d..5c7d046 160000
--- a/third-party/git-jquery-ui
+++ b/third-party/git-jquery-ui
@@ -1 +1 @@
-Subproject commit f74537d62dc356d7804457b44d64be2139b9d84f
+Subproject commit 5c7d0462f97ff29767f14c34e4482530ad0fa35c
diff --git a/third-party/jquery-ui/themes/base/jquery-ui.css
b/third-party/jquery-ui/themes/base/jquery-ui.css
index efd6e8c..c99f3cc 100644
--- a/third-party/jquery-ui/themes/base/jquery-ui.css
+++ b/third-party/jquery-ui/themes/base/jquery-ui.css
@@ -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.
@@ -37,7 +37,7 @@
/* Overlays */
.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
/*
- * 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.
@@ -56,7 +56,7 @@
.ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; margin-top:
-2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none;
zoom: 1; }
.ui-accordion .ui-accordion-content-active { display: block; }
/*
- * 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.
@@ -70,7 +70,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.
@@ -109,7 +109,7 @@
margin: -1px;
}
/*
- * 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.
@@ -117,7 +117,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; }
@@ -147,7 +147,7 @@ input.ui-button { padding: .4em 1em; }
/* workarounds */
button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra padding in
Firefox */
/*
- * 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.
@@ -214,7 +214,7 @@ button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset
extra pad
width: 200px; /*must have*/
height: 200px; /*must have*/
}/*
- * 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.
@@ -235,7 +235,7 @@ button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset
extra pad
.ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; }
.ui-draggable .ui-dialog-titlebar { cursor: move; }
/*
- * 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.
@@ -245,7 +245,7 @@ button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset
extra pad
*/
.ui-progressbar { height:2em; text-align: left; overflow: hidden; }
.ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; }/*
- * 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.
@@ -264,7 +264,7 @@ button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset
extra pad
.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px;
}
.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; }
.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top:
-5px;}/*
- * 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.
@@ -274,7 +274,7 @@ button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset
extra pad
*/
.ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; }
/*
- * 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.
@@ -297,7 +297,7 @@ button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset
extra pad
.ui-slider-vertical .ui-slider-range { left: 0; width: 100%; }
.ui-slider-vertical .ui-slider-range-min { bottom: 0; }
.ui-slider-vertical .ui-slider-range-max { top: 0; }/*
- * 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.
@@ -315,7 +315,7 @@ button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset
extra pad
.ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 1em 1.4em;
background: none; }
.ui-tabs .ui-tabs-hide { display: none !important; }
/*
- * 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.
diff --git a/third-party/jquery-ui/ui/i18n/jquery-ui-i18n.js
b/third-party/jquery-ui/ui/i18n/jquery-ui-i18n.js
index 966eb0c..a5e4468 100644
--- a/third-party/jquery-ui/ui/i18n/jquery-ui-i18n.js
+++ b/third-party/jquery-ui/ui/i18n/jquery-ui-i18n.js
@@ -574,8 +574,8 @@ jQuery(function($){
currentText: 'היום',
monthNames:
['ינואר','פברואר','מרץ','אפריל','מאי','יוני',
'יולי','אוגוסט','ספטמבר','אוקטובר','נובמבר','דצמבר'],
- monthNamesShort:
['1','2','3','4','5','6',
- '7','8','9','10','11','12'],
+ monthNamesShort:
['ינו','פבר','מרץ','אפר','מאי','יוני',
+ 'יולי','אוג','ספט','אוק','נוב','דצמ'],
dayNames:
['ראשון','שני','שלישי','רביעי','חמישי','שישי','שבת'],
dayNamesShort:
['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'],
dayNamesMin:
['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'],
@@ -587,6 +587,29 @@ jQuery(function($){
yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['he']);
});
+/* 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']);
+});
/* Croatian i18n for the jQuery UI date picker plugin. */
/* Written by Vjekoslav Nesek. */
jQuery(function($){
@@ -766,26 +789,49 @@ jQuery(function($){
yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['kk']);
});
+/* Khmer initialisation for the jQuery calendar extension. */
+/* Written by Chandara Om (chandara.teacher(a)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']);
+});
/* Korean initialisation for the jQuery calendar extension. */
-/* Written by DaeKwon Kang (ncrash.dk(a)gmail.com). */
+/* Written by DaeKwon Kang (ncrash.dk(a)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']);
});/* Luxembourgish initialisation for the jQuery UI date picker plugin. */
@@ -871,7 +917,7 @@ jQuery(function($){
dayNamesShort:
['Нед','Пон','Вто','Сре','Чет','Пет','Саб'],
dayNamesMin:
['Не','По','Вт','Ср','Че','Пе','Са'],
weekHeader: 'Сед',
- dateFormat: 'dd/mm/yy',
+ dateFormat: 'dd.mm.yy',
firstDay: 1,
isRTL: false,
showMonthAfterYear: false,
@@ -923,7 +969,7 @@ jQuery(function($){
showMonthAfterYear: false,
yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['ms']);
-});/* Dutch (Belgium) initialisation for the jQuery UI date picker plugin. */
+});/* Dutch (Belgium) initialisation for the jQuery UI date picker plugin. */
/* David De Sloovere @DavidDeSloovere */
jQuery(function($){
$.datepicker.regional['nl-BE'] = {
@@ -945,7 +991,8 @@ jQuery(function($){
showMonthAfterYear: false,
yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['nl-BE']);
-});/* Dutch (UTF-8) initialisation for the jQuery UI date picker plugin. */
+});
+/* Dutch (UTF-8) initialisation for the jQuery UI date picker plugin. */
/* Written by Mathias Bynens <
http://mathiasbynens.be/> */
jQuery(function($){
$.datepicker.regional.nl = {
diff --git a/third-party/jquery-ui/ui/jquery-ui.js
b/third-party/jquery-ui/ui/jquery-ui.js
index 776b0a1..d4444b2 100644
--- a/third-party/jquery-ui/ui/jquery-ui.js
+++ b/third-party/jquery-ui/ui/jquery-ui.js
@@ -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",
@@ -313,7 +318,7 @@ $.extend( $.ui, {
})( jQuery );
/*!
- * 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.
@@ -585,7 +590,7 @@ $.Widget.prototype = {
})( jQuery );
/*!
- * 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.
@@ -747,7 +752,7 @@ $.widget("ui.mouse", {
})(jQuery);
/*
- * 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.
@@ -1253,7 +1258,7 @@ $.widget("ui.draggable", $.ui.mouse, {
});
$.extend($.ui.draggable, {
- version: "1.8.17"
+ version: "1.8.18"
});
$.ui.plugin.add("draggable", "connectToSortable", {
@@ -1572,7 +1577,7 @@ $.ui.plugin.add("draggable", "zIndex", {
})(jQuery);
/*
- * 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.
@@ -1720,7 +1725,7 @@ $.widget("ui.droppable", {
});
$.extend($.ui.droppable, {
- version: "1.8.17"
+ version: "1.8.18"
});
$.ui.intersect = function(draggable, droppable, toleranceMode) {
@@ -1868,7 +1873,7 @@ $.ui.ddmanager = {
})(jQuery);
/*
- * 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.
@@ -1919,10 +1924,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({
@@ -2116,10 +2117,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'));
@@ -2418,7 +2415,7 @@ $.widget("ui.resizable", $.ui.mouse, {
});
$.extend($.ui.resizable, {
- version: "1.8.17"
+ version: "1.8.18"
});
/*
@@ -2435,8 +2432,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)
});
});
};
@@ -2468,12 +2464,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);
});
};
@@ -2486,25 +2476,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");
}
});
@@ -2710,7 +2681,7 @@ var isNumber = function(value) {
})(jQuery);
/*
- * 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.
@@ -2972,12 +2943,12 @@ $.widget("ui.selectable", $.ui.mouse, {
});
$.extend($.ui.selectable, {
- version: "1.8.17"
+ version: "1.8.18"
});
})(jQuery);
/*
- * 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.
@@ -2994,6 +2965,7 @@ $.extend($.ui.selectable, {
$.widget("ui.sortable", $.ui.mouse, {
widgetEventPrefix: "sort",
+ ready: false,
options: {
appendTo: "parent",
axis: false,
@@ -3035,10 +3007,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();
@@ -3549,7 +3525,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--){
@@ -4048,12 +4024,12 @@ $.widget("ui.sortable", $.ui.mouse, {
});
$.extend($.ui.sortable, {
- version: "1.8.17"
+ version: "1.8.18"
});
})(jQuery);
/*
- * 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.
@@ -4360,7 +4336,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) {
@@ -4816,7 +4792,7 @@ $.extend($.easing,
})(jQuery);
/*
- * 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.
@@ -4865,7 +4841,7 @@ $.effects.blind = function(o) {
})(jQuery);
/*
- * 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.
@@ -4943,7 +4919,7 @@ $.effects.bounce = function(o) {
})(jQuery);
/*
- * 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.
@@ -4997,7 +4973,7 @@ $.effects.clip = function(o) {
})(jQuery);
/*
- * 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.
@@ -5047,7 +5023,7 @@ $.effects.drop = function(o) {
})(jQuery);
/*
- * 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.
@@ -5126,7 +5102,7 @@ $.effects.explode = function(o) {
})(jQuery);
/*
- * 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.
@@ -5158,7 +5134,7 @@ $.effects.fade = function(o) {
})(jQuery);
/*
- * 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.
@@ -5214,7 +5190,7 @@ $.effects.fold = function(o) {
})(jQuery);
/*
- * 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.
@@ -5264,7 +5240,7 @@ $.effects.highlight = function(o) {
})(jQuery);
/*
- * 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.
@@ -5315,7 +5291,7 @@ $.effects.pulsate = function(o) {
})(jQuery);
/*
- * 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.
@@ -5493,7 +5469,7 @@ $.effects.size = function(o) {
})(jQuery);
/*
- * 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.
@@ -5550,7 +5526,7 @@ $.effects.shake = function(o) {
})(jQuery);
/*
- * 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.
@@ -5600,7 +5576,7 @@ $.effects.slide = function(o) {
})(jQuery);
/*
- * 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.
@@ -5645,7 +5621,7 @@ $.effects.transfer = function(o) {
})(jQuery);
/*
- * 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.
@@ -6164,7 +6140,7 @@ $.widget( "ui.accordion", {
});
$.extend( $.ui.accordion, {
- version: "1.8.17",
+ version: "1.8.18",
animations: {
slide: function( options, additions ) {
options = $.extend({
@@ -6256,7 +6232,7 @@ $.extend( $.ui.accordion, {
})( jQuery );
/*
- * 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.
@@ -6525,7 +6501,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 );
@@ -6878,7 +6856,7 @@ $.widget("ui.menu", {
}(jQuery));
/*
- * 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.
@@ -6935,7 +6913,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();
@@ -6951,10 +6931,6 @@ $.widget( "ui.button", {
options.label = this.buttonElement.html();
}
- if ( this.element.is( ":disabled" ) ) {
- options.disabled = true;
- }
-
this.buttonElement
.addClass( baseClasses )
.attr( "role", "button" )
@@ -7294,7 +7270,7 @@ $.widget( "ui.buttonset", {
}( jQuery ) );
/*
- * 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.
@@ -7307,7 +7283,7 @@ $.widget( "ui.buttonset", {
*/
(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();
@@ -7528,7 +7504,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;
});
@@ -8137,7 +8116,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();
@@ -9109,7 +9088,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
@@ -9117,7 +9096,7 @@ window['DP_jQuery_' + dpuuid] = $;
})(jQuery);
/*
- * 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.
@@ -9820,7 +9799,7 @@ $.widget("ui.dialog", {
});
$.extend($.ui.dialog, {
- version: "1.8.17",
+ version: "1.8.18",
uuid: 0,
maxZ: 0,
@@ -9995,7 +9974,7 @@ $.extend($.ui.dialog.overlay.prototype, {
}(jQuery));
/*
- * 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.
@@ -10265,7 +10244,7 @@ if ( !$.offset.setOffset ) {
background: "none"
};
if ( body ) {
- jQuery.extend( testElementStyle, {
+ $.extend( testElementStyle, {
position: "absolute",
left: "-1000px",
top: "-1000px"
@@ -10293,7 +10272,7 @@ if ( !$.offset.setOffset ) {
}( jQuery ));
/*
- * 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.
@@ -10397,12 +10376,12 @@ $.widget( "ui.progressbar", {
});
$.extend( $.ui.progressbar, {
- version: "1.8.17"
+ version: "1.8.18"
});
})( jQuery );
/*
- * 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.
@@ -10518,8 +10497,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,
@@ -10538,7 +10516,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" );
@@ -10587,9 +10565,6 @@ $.widget( "ui.slider", $.ui.mouse, {
}
self._slide( event, index, newVal );
-
- return ret;
-
})
.keyup(function( event ) {
var index = $( this ).data( "index.ui-slider-handle" );
@@ -11063,12 +11038,12 @@ $.widget( "ui.slider", $.ui.mouse, {
});
$.extend( $.ui.slider, {
- version: "1.8.17"
+ version: "1.8.18"
});
}(jQuery));
/*
- * 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.
@@ -11767,7 +11742,7 @@ $.widget( "ui.tabs", {
});
$.extend( $.ui.tabs, {
- version: "1.8.17"
+ version: "1.8.18"
});
/*