Bug 35681 - Upgrade jQuery UI to 1.8.18
authorReedy <reedy@wikimedia.org>
Tue, 3 Apr 2012 21:23:59 +0000 (22:23 +0100)
committerReedy <reedy@wikimedia.org>
Tue, 3 Apr 2012 21:49:36 +0000 (22:49 +0100)
http://blog.jqueryui.com/2012/02/jquery-ui-1-8-18/

Change-Id: I31e870279e239733437c7222c5e69be112e8aba1

49 files changed:
resources/Resources.php
resources/jquery.effects/jquery.effects.blind.js
resources/jquery.effects/jquery.effects.bounce.js
resources/jquery.effects/jquery.effects.clip.js
resources/jquery.effects/jquery.effects.core.js
resources/jquery.effects/jquery.effects.drop.js
resources/jquery.effects/jquery.effects.explode.js
resources/jquery.effects/jquery.effects.fade.js
resources/jquery.effects/jquery.effects.fold.js
resources/jquery.effects/jquery.effects.highlight.js
resources/jquery.effects/jquery.effects.pulsate.js
resources/jquery.effects/jquery.effects.scale.js
resources/jquery.effects/jquery.effects.shake.js
resources/jquery.effects/jquery.effects.slide.js
resources/jquery.effects/jquery.effects.transfer.js
resources/jquery.ui/i18n/jquery.ui.datepicker-he.js
resources/jquery.ui/i18n/jquery.ui.datepicker-hi.js [new file with mode: 0644]
resources/jquery.ui/i18n/jquery.ui.datepicker-km.js [new file with mode: 0644]
resources/jquery.ui/i18n/jquery.ui.datepicker-ko.js
resources/jquery.ui/i18n/jquery.ui.datepicker-mk.js
resources/jquery.ui/jquery.ui.accordion.js
resources/jquery.ui/jquery.ui.autocomplete.js
resources/jquery.ui/jquery.ui.button.js
resources/jquery.ui/jquery.ui.core.js
resources/jquery.ui/jquery.ui.datepicker.js
resources/jquery.ui/jquery.ui.dialog.js
resources/jquery.ui/jquery.ui.draggable.js
resources/jquery.ui/jquery.ui.droppable.js
resources/jquery.ui/jquery.ui.mouse.js
resources/jquery.ui/jquery.ui.position.js
resources/jquery.ui/jquery.ui.progressbar.js
resources/jquery.ui/jquery.ui.resizable.js
resources/jquery.ui/jquery.ui.selectable.js
resources/jquery.ui/jquery.ui.slider.js
resources/jquery.ui/jquery.ui.sortable.js
resources/jquery.ui/jquery.ui.tabs.js
resources/jquery.ui/jquery.ui.widget.js
resources/jquery.ui/themes/default/jquery.ui.accordion.css
resources/jquery.ui/themes/default/jquery.ui.autocomplete.css
resources/jquery.ui/themes/default/jquery.ui.button.css
resources/jquery.ui/themes/default/jquery.ui.core.css
resources/jquery.ui/themes/default/jquery.ui.datepicker.css
resources/jquery.ui/themes/default/jquery.ui.dialog.css
resources/jquery.ui/themes/default/jquery.ui.progressbar.css
resources/jquery.ui/themes/default/jquery.ui.resizable.css
resources/jquery.ui/themes/default/jquery.ui.selectable.css
resources/jquery.ui/themes/default/jquery.ui.slider.css
resources/jquery.ui/themes/default/jquery.ui.tabs.css
resources/jquery.ui/themes/default/jquery.ui.theme.css

index 4e4c90a..b891a1f 100644 (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',
index 2ecbbed..861bbfa 100644 (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.
index f8e4473..dc21f31 100644 (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.
index 74845c0..1ac61bb 100644 (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.
index 7f56896..19e2f70 100644 (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) {
index 4bbd108..c674cca 100644 (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.
index 2c12fdb..b2af6da 100644 (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.
index bae6366..beb5cb4 100644 (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.
index 8e73273..762ec6c 100644 (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.
index 306d515..f2d2333 100644 (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.
index 766690f..418df4e 100644 (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.
index 4cb7382..e2d6482 100644 (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.
index b5a7352..91388ab 100644 (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.
index e41869b..d481a2a 100644 (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.
index d51b9c4..776fe46 100644 (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.
index 88a7866..135cdec 100644 (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: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'],
diff --git a/resources/jquery.ui/i18n/jquery.ui.datepicker-hi.js b/resources/jquery.ui/i18n/jquery.ui.datepicker-hi.js
new file mode 100644 (file)
index 0000000..d75e98e
--- /dev/null
@@ -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']);
+});
diff --git a/resources/jquery.ui/i18n/jquery.ui.datepicker-km.js b/resources/jquery.ui/i18n/jquery.ui.datepicker-km.js
new file mode 100644 (file)
index 0000000..f9c4e3a
--- /dev/null
@@ -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']);
+});
index 5b35316..0411242 100644 (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']);
 });
\ No newline at end of file
index 554ad20..1e60242 100644 (file)
@@ -14,7 +14,7 @@ jQuery(function($){
                dayNamesShort: ['Нед','Пон','Вто','Сре','Чет','Пет','Саб'],
                dayNamesMin: ['Не','По','Вт','Ср','Че','Пе','Са'],
                weekHeader: 'Сед',
-               dateFormat: 'dd/mm/yy',
+               dateFormat: 'dd.mm.yy',
                firstDay: 1,
                isRTL: false,
                showMonthAfterYear: false,
index 8fa8c0b..77afe55 100644 (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({
index 48ede20..8889ca9 100644 (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 );
index 94dce1c..1ff2f7f 100644 (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" )
index 6d82ff1..98b4f9b 100644 (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",
index bbf5917..c3b08be 100644 (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
index 33119af..4340b45 100644 (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,
index 41aba9d..4141ff7 100644 (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", {
index afce00a..afd421f 100644 (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) {
index 6bb65de..669d563 100644 (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.
index 8eb30f6..1b90ea1 100644 (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"
index 27bae87..c042b40 100644 (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 );
index 52b1fc4..b441435 100644 (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");
        }
 });
index d790ac0..275021d 100644 (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);
index 53fdc42..23a56cc 100644 (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));
index 26ba85f..c3fb719 100644 (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);
index ff7938c..bd30ad5 100644 (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"
 });
 
 /*
index facd77b..0c6f53f 100644 (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.
index e426c76..3e5df6c 100644 (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.
index 4613938..955f121 100644 (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.
index a7565af..0074880 100644 (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; } 
index bde176d..42fc9e7 100644 (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.
index 6cb5aef..bf61459 100644 (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.
index a5914ff..ba14475 100644 (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.
index 630fab3..3850631 100644 (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.
index 582bcb3..ecfa0d1 100644 (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.
index b36b898..f06d70c 100644 (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.
index 4cc5481..df19d6f 100644 (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.
index fb82745..2e98e2e 100644 (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.
index d0c93af..0e2a746 100644 (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.