Changeset 31716
- Timestamp:
- 03/11/2015 03:11:52 PM (9 years ago)
- Location:
- trunk/src
- Files:
-
- 41 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/css/common.css
r31696 r31716 2862 2862 2863 2863 /*! 2864 * jQuery UI Draggable/Sortable 1.11. 32864 * jQuery UI Draggable/Sortable 1.11.4 2865 2865 * http://jqueryui.com 2866 2866 * -
trunk/src/wp-includes/css/jquery-ui-dialog.css
r31573 r31716 1 1 /*! 2 * jQuery UI CSS Framework 1.11. 32 * jQuery UI CSS Framework 1.11.4 3 3 * http://jqueryui.com 4 4 * … … 94 94 95 95 /*! 96 * jQuery UI Resizable 1.11. 396 * jQuery UI Resizable 1.11.4 97 97 * http://jqueryui.com 98 98 * -
trunk/src/wp-includes/css/media-views.css
r31620 r31716 106 106 107 107 /*! 108 * jQuery UI Draggable/Sortable 1.11. 3108 * jQuery UI Draggable/Sortable 1.11.4 109 109 * http://jqueryui.com 110 110 * -
trunk/src/wp-includes/js/jquery/ui/accordion.js
r31569 r31716 1 1 /*! 2 * jQuery UI Accordion 1.11. 32 * jQuery UI Accordion 1.11.4 3 3 * http://jqueryui.com 4 4 * … … 26 26 27 27 return $.widget( "ui.accordion", { 28 version: "1.11. 3",28 version: "1.11.4", 29 29 options: { 30 30 active: 0, … … 517 517 that = this, 518 518 adjust = 0, 519 boxSizing = toShow.css( "box-sizing" ), 519 520 down = toShow.length && 520 521 ( !toHide.length || ( toShow.index() < toHide.index() ) ), … … 559 560 fx.now = Math.round( now ); 560 561 if ( fx.prop !== "height" ) { 561 adjust += fx.now; 562 if ( boxSizing === "content-box" ) { 563 adjust += fx.now; 564 } 562 565 } else if ( that.options.heightStyle !== "content" ) { 563 566 fx.now = Math.round( total - toHide.outerHeight() - adjust ); -
trunk/src/wp-includes/js/jquery/ui/autocomplete.js
r31569 r31716 1 1 /*! 2 * jQuery UI Autocomplete 1.11. 32 * jQuery UI Autocomplete 1.11.4 3 3 * http://jqueryui.com 4 4 * … … 28 28 29 29 $.widget( "ui.autocomplete", { 30 version: "1.11. 3",30 version: "1.11.4", 31 31 defaultElement: "<input>", 32 32 options: { -
trunk/src/wp-includes/js/jquery/ui/button.js
r31569 r31716 1 1 /*! 2 * jQuery UI Button 1.11. 32 * jQuery UI Button 1.11.4 3 3 * http://jqueryui.com 4 4 * … … 53 53 54 54 $.widget( "ui.button", { 55 version: "1.11. 3",55 version: "1.11.4", 56 56 defaultElement: "<button>", 57 57 options: { … … 349 349 350 350 $.widget( "ui.buttonset", { 351 version: "1.11. 3",351 version: "1.11.4", 352 352 options: { 353 353 items: "button, input[type=button], input[type=submit], input[type=reset], input[type=checkbox], input[type=radio], a, :data(ui-button)" -
trunk/src/wp-includes/js/jquery/ui/core.js
r31569 r31716 1 1 /*! 2 * jQuery UI Core 1.11. 32 * jQuery UI Core 1.11.4 3 3 * http://jqueryui.com 4 4 * … … 25 25 26 26 $.extend( $.ui, { 27 version: "1.11. 3",27 version: "1.11.4", 28 28 29 29 keyCode: { -
trunk/src/wp-includes/js/jquery/ui/datepicker.js
r31569 r31716 1 1 /*! 2 * jQuery UI Datepicker 1.11. 32 * jQuery UI Datepicker 1.11.4 3 3 * http://jqueryui.com 4 4 * … … 24 24 }(function( $ ) { 25 25 26 $.extend($.ui, { datepicker: { version: "1.11. 3" } });26 $.extend($.ui, { datepicker: { version: "1.11.4" } }); 27 27 28 28 var datepicker_instActive; … … 2078 2078 $.datepicker.initialized = false; 2079 2079 $.datepicker.uuid = new Date().getTime(); 2080 $.datepicker.version = "1.11. 3";2080 $.datepicker.version = "1.11.4"; 2081 2081 2082 2082 return $.datepicker; -
trunk/src/wp-includes/js/jquery/ui/dialog.js
r31569 r31716 1 1 /*! 2 * jQuery UI Dialog 1.11. 32 * jQuery UI Dialog 1.11.4 3 3 * http://jqueryui.com 4 4 * … … 31 31 32 32 return $.widget( "ui.dialog", { 33 version: "1.11. 3",33 version: "1.11.4", 34 34 options: { 35 35 appendTo: "body", … … 151 151 originalPosition = this.originalPosition; 152 152 153 this._untrackInstance(); 153 154 this._destroyOverlay(); 154 155 … … 229 230 _moveToTop: function( event, silent ) { 230 231 var moved = false, 231 zIndic ies = this.uiDialog.siblings( ".ui-front:visible" ).map(function() {232 zIndices = this.uiDialog.siblings( ".ui-front:visible" ).map(function() { 232 233 return +$( this ).css( "z-index" ); 233 234 }).get(), 234 zIndexMax = Math.max.apply( null, zIndic ies );235 zIndexMax = Math.max.apply( null, zIndices ); 235 236 236 237 if ( zIndexMax >= +this.uiDialog.css( "z-index" ) ) { -
trunk/src/wp-includes/js/jquery/ui/draggable.js
r31569 r31716 1 1 /*! 2 * jQuery UI Draggable 1.11. 32 * jQuery UI Draggable 1.11.4 3 3 * http://jqueryui.com 4 4 * … … 27 27 28 28 $.widget("ui.draggable", $.ui.mouse, { 29 version: "1.11. 3",29 version: "1.11.4", 30 30 widgetEventPrefix: "drag", 31 31 options: { … … 801 801 sortable.isOver = 1; 802 802 803 // Store draggable's parent in case we need to reappend to it later. 804 draggable._parent = ui.helper.parent(); 805 803 806 sortable.currentItem = ui.helper 804 807 .appendTo( sortable.element ) … … 877 880 } 878 881 879 // Recalculate the draggable's offset considering the sortable 880 // may have modified them in unexpected ways (#8809) 882 // Restore and recalculate the draggable's offset considering the sortable 883 // may have modified them in unexpected ways. (#8809, #10669) 884 ui.helper.appendTo( draggable._parent ); 881 885 draggable._refreshOffsets( event ); 882 886 ui.position = draggable._generatePosition( event, true ); -
trunk/src/wp-includes/js/jquery/ui/droppable.js
r31569 r31716 1 1 /*! 2 * jQuery UI Droppable 1.11. 32 * jQuery UI Droppable 1.11.4 3 3 * http://jqueryui.com 4 4 * … … 28 28 29 29 $.widget( "ui.droppable", { 30 version: "1.11. 3",30 version: "1.11.4", 31 31 widgetEventPrefix: "drop", 32 32 options: { -
trunk/src/wp-includes/js/jquery/ui/effect-blind.js
r31569 r31716 1 1 /*! 2 * jQuery UI Effects Blind 1.11. 32 * jQuery UI Effects Blind 1.11.4 3 3 * http://jqueryui.com 4 4 * -
trunk/src/wp-includes/js/jquery/ui/effect-bounce.js
r31569 r31716 1 1 /*! 2 * jQuery UI Effects Bounce 1.11. 32 * jQuery UI Effects Bounce 1.11.4 3 3 * http://jqueryui.com 4 4 * -
trunk/src/wp-includes/js/jquery/ui/effect-clip.js
r31569 r31716 1 1 /*! 2 * jQuery UI Effects Clip 1.11. 32 * jQuery UI Effects Clip 1.11.4 3 3 * http://jqueryui.com 4 4 * -
trunk/src/wp-includes/js/jquery/ui/effect-drop.js
r31569 r31716 1 1 /*! 2 * jQuery UI Effects Drop 1.11. 32 * jQuery UI Effects Drop 1.11.4 3 3 * http://jqueryui.com 4 4 * -
trunk/src/wp-includes/js/jquery/ui/effect-explode.js
r31569 r31716 1 1 /*! 2 * jQuery UI Effects Explode 1.11. 32 * jQuery UI Effects Explode 1.11.4 3 3 * http://jqueryui.com 4 4 * -
trunk/src/wp-includes/js/jquery/ui/effect-fade.js
r31569 r31716 1 1 /*! 2 * jQuery UI Effects Fade 1.11. 32 * jQuery UI Effects Fade 1.11.4 3 3 * http://jqueryui.com 4 4 * -
trunk/src/wp-includes/js/jquery/ui/effect-fold.js
r31569 r31716 1 1 /*! 2 * jQuery UI Effects Fold 1.11. 32 * jQuery UI Effects Fold 1.11.4 3 3 * http://jqueryui.com 4 4 * -
trunk/src/wp-includes/js/jquery/ui/effect-highlight.js
r31569 r31716 1 1 /*! 2 * jQuery UI Effects Highlight 1.11. 32 * jQuery UI Effects Highlight 1.11.4 3 3 * http://jqueryui.com 4 4 * -
trunk/src/wp-includes/js/jquery/ui/effect-puff.js
r31569 r31716 1 1 /*! 2 * jQuery UI Effects Puff 1.11. 32 * jQuery UI Effects Puff 1.11.4 3 3 * http://jqueryui.com 4 4 * -
trunk/src/wp-includes/js/jquery/ui/effect-pulsate.js
r31569 r31716 1 1 /*! 2 * jQuery UI Effects Pulsate 1.11. 32 * jQuery UI Effects Pulsate 1.11.4 3 3 * http://jqueryui.com 4 4 * -
trunk/src/wp-includes/js/jquery/ui/effect-scale.js
r31569 r31716 1 1 /*! 2 * jQuery UI Effects Scale 1.11. 32 * jQuery UI Effects Scale 1.11.4 3 3 * http://jqueryui.com 4 4 * -
trunk/src/wp-includes/js/jquery/ui/effect-shake.js
r31569 r31716 1 1 /*! 2 * jQuery UI Effects Shake 1.11. 32 * jQuery UI Effects Shake 1.11.4 3 3 * http://jqueryui.com 4 4 * -
trunk/src/wp-includes/js/jquery/ui/effect-size.js
r31569 r31716 1 1 /*! 2 * jQuery UI Effects Size 1.11. 32 * jQuery UI Effects Size 1.11.4 3 3 * http://jqueryui.com 4 4 * -
trunk/src/wp-includes/js/jquery/ui/effect-slide.js
r31569 r31716 1 1 /*! 2 * jQuery UI Effects Slide 1.11. 32 * jQuery UI Effects Slide 1.11.4 3 3 * http://jqueryui.com 4 4 * -
trunk/src/wp-includes/js/jquery/ui/effect-transfer.js
r31569 r31716 1 1 /*! 2 * jQuery UI Effects Transfer 1.11. 32 * jQuery UI Effects Transfer 1.11.4 3 3 * http://jqueryui.com 4 4 * -
trunk/src/wp-includes/js/jquery/ui/effect.js
r31569 r31716 1 1 /*! 2 * jQuery UI Effects 1.11. 32 * jQuery UI Effects 1.11.4 3 3 * http://jqueryui.com 4 4 * … … 905 905 906 906 $.extend( $.effects, { 907 version: "1.11. 3",907 version: "1.11.4", 908 908 909 909 // Saves a set of properties in a data storage -
trunk/src/wp-includes/js/jquery/ui/menu.js
r31569 r31716 1 1 /*! 2 * jQuery UI Menu 1.11. 32 * jQuery UI Menu 1.11.4 3 3 * http://jqueryui.com 4 4 * … … 27 27 28 28 return $.widget( "ui.menu", { 29 version: "1.11. 3",29 version: "1.11.4", 30 30 defaultElement: "<ul>", 31 31 delay: 300, -
trunk/src/wp-includes/js/jquery/ui/mouse.js
r31569 r31716 1 1 /*! 2 * jQuery UI Mouse 1.11. 32 * jQuery UI Mouse 1.11.4 3 3 * http://jqueryui.com 4 4 * … … 30 30 31 31 return $.widget("ui.mouse", { 32 version: "1.11. 3",32 version: "1.11.4", 33 33 options: { 34 34 cancel: "input,textarea,button,select,option", -
trunk/src/wp-includes/js/jquery/ui/position.js
r31569 r31716 1 1 /*! 2 * jQuery UI Position 1.11. 32 * jQuery UI Position 1.11.4 3 3 * http://jqueryui.com 4 4 * -
trunk/src/wp-includes/js/jquery/ui/progressbar.js
r31569 r31716 1 1 /*! 2 * jQuery UI Progressbar 1.11. 32 * jQuery UI Progressbar 1.11.4 3 3 * http://jqueryui.com 4 4 * … … 26 26 27 27 return $.widget( "ui.progressbar", { 28 version: "1.11. 3",28 version: "1.11.4", 29 29 options: { 30 30 max: 100, -
trunk/src/wp-includes/js/jquery/ui/resizable.js
r31569 r31716 1 1 /*! 2 * jQuery UI Resizable 1.11. 32 * jQuery UI Resizable 1.11.4 3 3 * http://jqueryui.com 4 4 * … … 27 27 28 28 $.widget("ui.resizable", $.ui.mouse, { 29 version: "1.11. 3",29 version: "1.11.4", 30 30 widgetEventPrefix: "resize", 31 31 options: { … … 161 161 } ); 162 162 163 if (this.handles.constructor === String) { 163 this._handles = $(); 164 if ( this.handles.constructor === String ) { 164 165 165 166 if ( this.handles === "all") { … … 199 200 if (this.handles[i].constructor === String) { 200 201 this.handles[i] = this.element.children( this.handles[ i ] ).first().show(); 202 } else if ( this.handles[ i ].jquery || this.handles[ i ].nodeType ) { 203 this.handles[ i ] = $( this.handles[ i ] ); 204 this._on( this.handles[ i ], { "mousedown": that._mouseDown }); 201 205 } 202 206 … … 215 219 216 220 this._proportionallyResize(); 217 218 221 } 219 222 220 // TODO: What's that good for? There's not anything to be executed left 221 if (!$(this.handles[i]).length) { 222 continue; 223 } 223 this._handles = this._handles.add( this.handles[ i ] ); 224 224 } 225 225 }; … … 228 228 this._renderAxis(this.element); 229 229 230 this._handles = $(".ui-resizable-handle", this.element)231 230 this._handles = this._handles.add( this.element.find( ".ui-resizable-handle" ) ); 231 this._handles.disableSelection(); 232 232 233 233 this._handles.mouseover(function() { … … 263 263 264 264 this._mouseInit(); 265 266 265 }, 267 266 … … 985 984 start: function() { 986 985 var that = $(this).resizable( "instance" ), 987 o = that.options, 988 _store = function(exp) { 989 $(exp).each(function() { 990 var el = $(this); 991 el.data("ui-resizable-alsoresize", { 992 width: parseInt(el.width(), 10), height: parseInt(el.height(), 10), 993 left: parseInt(el.css("left"), 10), top: parseInt(el.css("top"), 10) 994 }); 995 }); 996 }; 997 998 if (typeof(o.alsoResize) === "object" && !o.alsoResize.parentNode) { 999 if (o.alsoResize.length) { 1000 o.alsoResize = o.alsoResize[0]; 1001 _store(o.alsoResize); 1002 } else { 1003 $.each(o.alsoResize, function(exp) { 1004 _store(exp); 1005 }); 1006 } 1007 } else { 1008 _store(o.alsoResize); 1009 } 986 o = that.options; 987 988 $(o.alsoResize).each(function() { 989 var el = $(this); 990 el.data("ui-resizable-alsoresize", { 991 width: parseInt(el.width(), 10), height: parseInt(el.height(), 10), 992 left: parseInt(el.css("left"), 10), top: parseInt(el.css("top"), 10) 993 }); 994 }); 1010 995 }, 1011 996 … … 1020 1005 top: (that.position.top - op.top) || 0, 1021 1006 left: (that.position.left - op.left) || 0 1022 }, 1023 1024 _alsoResize = function(exp, c) { 1025 $(exp).each(function() { 1026 var el = $(this), start = $(this).data("ui-resizable-alsoresize"), style = {}, 1027 css = c && c.length ? 1028 c : 1029 el.parents(ui.originalElement[0]).length ? 1030 [ "width", "height" ] : 1031 [ "width", "height", "top", "left" ]; 1032 1033 $.each(css, function(i, prop) { 1034 var sum = (start[prop] || 0) + (delta[prop] || 0); 1035 if (sum && sum >= 0) { 1036 style[prop] = sum || null; 1037 } 1038 }); 1039 1040 el.css(style); 1007 }; 1008 1009 $(o.alsoResize).each(function() { 1010 var el = $(this), start = $(this).data("ui-resizable-alsoresize"), style = {}, 1011 css = el.parents(ui.originalElement[0]).length ? 1012 [ "width", "height" ] : 1013 [ "width", "height", "top", "left" ]; 1014 1015 $.each(css, function(i, prop) { 1016 var sum = (start[prop] || 0) + (delta[prop] || 0); 1017 if (sum && sum >= 0) { 1018 style[prop] = sum || null; 1019 } 1041 1020 }); 1042 }; 1043 1044 if (typeof(o.alsoResize) === "object" && !o.alsoResize.nodeType) { 1045 $.each(o.alsoResize, function(exp, c) { 1046 _alsoResize(exp, c); 1021 1022 el.css(style); 1047 1023 }); 1048 } else {1049 _alsoResize(o.alsoResize);1050 }1051 1024 }, 1052 1025 -
trunk/src/wp-includes/js/jquery/ui/selectable.js
r31569 r31716 1 1 /*! 2 * jQuery UI Selectable 1.11. 32 * jQuery UI Selectable 1.11.4 3 3 * http://jqueryui.com 4 4 * … … 27 27 28 28 return $.widget("ui.selectable", $.ui.mouse, { 29 version: "1.11. 3",29 version: "1.11.4", 30 30 options: { 31 31 appendTo: "body", -
trunk/src/wp-includes/js/jquery/ui/selectmenu.js
r31569 r31716 1 1 /*! 2 * jQuery UI Selectmenu 1.11. 32 * jQuery UI Selectmenu 1.11.4 3 3 * http://jqueryui.com 4 4 * … … 28 28 29 29 return $.widget( "ui.selectmenu", { 30 version: "1.11. 3",30 version: "1.11.4", 31 31 defaultElement: "<select>", 32 32 options: { -
trunk/src/wp-includes/js/jquery/ui/slider.js
r31569 r31716 1 1 /*! 2 * jQuery UI Slider 1.11. 32 * jQuery UI Slider 1.11.4 3 3 * http://jqueryui.com 4 4 * … … 27 27 28 28 return $.widget( "ui.slider", $.ui.mouse, { 29 version: "1.11. 3",29 version: "1.11.4", 30 30 widgetEventPrefix: "slide", 31 31 … … 551 551 min = this._valueMin(), 552 552 step = this.options.step, 553 aboveMin = Math.floor( ( max - min) / step ) * step;553 aboveMin = Math.floor( ( +( max - min ).toFixed( this._precision() ) ) / step ) * step; 554 554 max = aboveMin + min; 555 555 this.max = parseFloat( max.toFixed( this._precision() ) ); -
trunk/src/wp-includes/js/jquery/ui/sortable.js
r31569 r31716 1 1 /*! 2 * jQuery UI Sortable 1.11. 32 * jQuery UI Sortable 1.11.4 3 3 * http://jqueryui.com 4 4 * … … 27 27 28 28 return $.widget("ui.sortable", $.ui.mouse, { 29 version: "1.11. 3",29 version: "1.11.4", 30 30 widgetEventPrefix: "sort", 31 31 ready: false, … … 78 78 79 79 _create: function() { 80 81 var o = this.options;82 80 this.containerCache = {}; 83 81 this.element.addClass("ui-sortable"); … … 85 83 //Get the items 86 84 this.refresh(); 87 88 //Let's determine if the items are being displayed horizontally89 this.floating = this.items.length ? o.axis === "x" || this._isFloating(this.items[0].item) : false;90 85 91 86 //Let's determine the parent's offset … … 732 727 refreshPositions: function(fast) { 733 728 729 // Determine whether items are being displayed horizontally 730 this.floating = this.items.length ? 731 this.options.axis === "x" || this._isFloating( this.items[ 0 ].item ) : 732 false; 733 734 734 //This has to be redone because due to the item being moved out/into the offsetParent, the offsetParent's position will change 735 735 if(this.offsetParent && this.helper) { … … 789 789 .removeClass("ui-sortable-helper"); 790 790 791 if ( nodeName === "tr" ) { 792 that.currentItem.children().each(function() { 793 $( "<td> </td>", that.document[0] ) 794 .attr( "colspan", $( this ).attr( "colspan" ) || 1 ) 795 .appendTo( element ); 796 }); 791 if ( nodeName === "tbody" ) { 792 that._createTrPlaceholder( 793 that.currentItem.find( "tr" ).eq( 0 ), 794 $( "<tr>", that.document[ 0 ] ).appendTo( element ) 795 ); 796 } else if ( nodeName === "tr" ) { 797 that._createTrPlaceholder( that.currentItem, element ); 797 798 } else if ( nodeName === "img" ) { 798 799 element.attr( "src", that.currentItem.attr( "src" ) ); … … 829 830 o.placeholder.update(that, that.placeholder); 830 831 832 }, 833 834 _createTrPlaceholder: function( sourceTr, targetTr ) { 835 var that = this; 836 837 sourceTr.children().each(function() { 838 $( "<td> </td>", that.document[ 0 ] ) 839 .attr( "colspan", $( this ).attr( "colspan" ) || 1 ) 840 .appendTo( targetTr ); 841 }); 831 842 }, 832 843 -
trunk/src/wp-includes/js/jquery/ui/spinner.js
r31569 r31716 1 1 /*! 2 * jQuery UI Spinner 1.11. 32 * jQuery UI Spinner 1.11.4 3 3 * http://jqueryui.com 4 4 * … … 38 38 39 39 return $.widget( "ui.spinner", { 40 version: "1.11. 3",40 version: "1.11.4", 41 41 defaultElement: "<input>", 42 42 widgetEventPrefix: "spin", -
trunk/src/wp-includes/js/jquery/ui/tabs.js
r31569 r31716 1 1 /*! 2 * jQuery UI Tabs 1.11. 32 * jQuery UI Tabs 1.11.4 3 3 * http://jqueryui.com 4 4 * … … 26 26 27 27 return $.widget( "ui.tabs", { 28 version: "1.11. 3",28 version: "1.11.4", 29 29 delay: 300, 30 30 options: { … … 818 818 tab: tab, 819 819 panel: panel 820 }, 821 complete = function( jqXHR, status ) { 822 if ( status === "abort" ) { 823 that.panels.stop( false, true ); 824 } 825 826 tab.removeClass( "ui-tabs-loading" ); 827 panel.removeAttr( "aria-busy" ); 828 829 if ( jqXHR === that.xhr ) { 830 delete that.xhr; 831 } 820 832 }; 821 833 … … 835 847 836 848 this.xhr 837 . success(function( response) {849 .done(function( response, status, jqXHR ) { 838 850 // support: jQuery <1.8 839 851 // http://bugs.jquery.com/ticket/11778 … … 841 853 panel.html( response ); 842 854 that._trigger( "load", event, eventData ); 855 856 complete( jqXHR, status ); 843 857 }, 1 ); 844 858 }) 845 . complete(function( jqXHR, status ) {859 .fail(function( jqXHR, status ) { 846 860 // support: jQuery <1.8 847 861 // http://bugs.jquery.com/ticket/11778 848 862 setTimeout(function() { 849 if ( status === "abort" ) { 850 that.panels.stop( false, true ); 851 } 852 853 tab.removeClass( "ui-tabs-loading" ); 854 panel.removeAttr( "aria-busy" ); 855 856 if ( jqXHR === that.xhr ) { 857 delete that.xhr; 858 } 863 complete( jqXHR, status ); 859 864 }, 1 ); 860 865 }); -
trunk/src/wp-includes/js/jquery/ui/tooltip.js
r31569 r31716 1 1 /*! 2 * jQuery UI Tooltip 1.11. 32 * jQuery UI Tooltip 1.11.4 3 3 * http://jqueryui.com 4 4 * … … 27 27 28 28 return $.widget( "ui.tooltip", { 29 version: "1.11. 3",29 version: "1.11.4", 30 30 options: { 31 31 content: function() { … … 195 195 } 196 196 197 this._registerCloseHandlers( event, target ); 197 198 this._updateContent( target, event ); 198 199 }, … … 209 210 210 211 content = contentOption.call( target[0], function( response ) { 211 // ignore async response if tooltip was closed already 212 if ( !target.data( "ui-tooltip-open" ) ) { 213 return; 214 } 212 215 213 // IE may instantly serve a cached response for ajax requests 216 214 // delay this call to _open so the other call to _open runs first 217 215 that._delay(function() { 216 217 // Ignore async response if tooltip was closed already 218 if ( !target.data( "ui-tooltip-open" ) ) { 219 return; 220 } 221 218 222 // jQuery creates a special event for focusin when it doesn't 219 223 // exist natively. To improve performance, the native event … … 233 237 234 238 _open: function( event, target, content ) { 235 var tooltipData, tooltip, events,delayedShow, a11yContent,239 var tooltipData, tooltip, delayedShow, a11yContent, 236 240 positionOption = $.extend( {}, this.options.position ); 237 241 … … 315 319 316 320 this._trigger( "open", event, { tooltip: tooltip } ); 317 318 events = { 321 }, 322 323 _registerCloseHandlers: function( event, target ) { 324 var events = { 319 325 keyup: function( event ) { 320 326 if ( event.keyCode === $.ui.keyCode.ESCAPE ) { … … 330 336 if ( target[ 0 ] !== this.element[ 0 ] ) { 331 337 events.remove = function() { 332 this._removeTooltip( t ooltip );338 this._removeTooltip( this._find( target ).tooltip ); 333 339 }; 334 340 } … … 351 357 // The tooltip may already be closed 352 358 if ( !tooltipData ) { 359 360 // We set ui-tooltip-open immediately upon open (in open()), but only set the 361 // additional data once there's actually content to show (in _open()). So even if the 362 // tooltip doesn't have full data, we always remove ui-tooltip-open in case we're in 363 // the period between open() and _open(). 364 target.removeData( "ui-tooltip-open" ); 353 365 return; 354 366 } -
trunk/src/wp-includes/js/jquery/ui/widget.js
r31569 r31716 1 1 /*! 2 * jQuery UI Widget 1.11. 32 * jQuery UI Widget 1.11.4 3 3 * http://jqueryui.com 4 4 * -
trunk/src/wp-includes/script-loader.php
r31704 r31716 169 169 170 170 // full jQuery UI 171 $scripts->add( 'jquery-ui-core', "/wp-includes/js/jquery/ui/core$dev_suffix.js", array('jquery'), '1.11. 3', 1 );172 $scripts->add( 'jquery-effects-core', "/wp-includes/js/jquery/ui/effect$dev_suffix.js", array('jquery'), '1.11. 3', 1 );173 174 $scripts->add( 'jquery-effects-blind', "/wp-includes/js/jquery/ui/effect-blind$dev_suffix.js", array('jquery-effects-core'), '1.11. 3', 1 );175 $scripts->add( 'jquery-effects-bounce', "/wp-includes/js/jquery/ui/effect-bounce$dev_suffix.js", array('jquery-effects-core'), '1.11. 3', 1 );176 $scripts->add( 'jquery-effects-clip', "/wp-includes/js/jquery/ui/effect-clip$dev_suffix.js", array('jquery-effects-core'), '1.11. 3', 1 );177 $scripts->add( 'jquery-effects-drop', "/wp-includes/js/jquery/ui/effect-drop$dev_suffix.js", array('jquery-effects-core'), '1.11. 3', 1 );178 $scripts->add( 'jquery-effects-explode', "/wp-includes/js/jquery/ui/effect-explode$dev_suffix.js", array('jquery-effects-core'), '1.11. 3', 1 );179 $scripts->add( 'jquery-effects-fade', "/wp-includes/js/jquery/ui/effect-fade$dev_suffix.js", array('jquery-effects-core'), '1.11. 3', 1 );180 $scripts->add( 'jquery-effects-fold', "/wp-includes/js/jquery/ui/effect-fold$dev_suffix.js", array('jquery-effects-core'), '1.11. 3', 1 );181 $scripts->add( 'jquery-effects-highlight', "/wp-includes/js/jquery/ui/effect-highlight$dev_suffix.js", array('jquery-effects-core'), '1.11. 3', 1 );182 $scripts->add( 'jquery-effects-puff', "/wp-includes/js/jquery/ui/effect-puff$dev_suffix.js", array('jquery-effects-core', 'jquery-effects-scale'), '1.11. 3', 1 );183 $scripts->add( 'jquery-effects-pulsate', "/wp-includes/js/jquery/ui/effect-pulsate$dev_suffix.js", array('jquery-effects-core'), '1.11. 3', 1 );184 $scripts->add( 'jquery-effects-scale', "/wp-includes/js/jquery/ui/effect-scale$dev_suffix.js", array('jquery-effects-core', 'jquery-effects-size'), '1.11. 3', 1 );185 $scripts->add( 'jquery-effects-shake', "/wp-includes/js/jquery/ui/effect-shake$dev_suffix.js", array('jquery-effects-core'), '1.11. 3', 1 );186 $scripts->add( 'jquery-effects-size', "/wp-includes/js/jquery/ui/effect-size$dev_suffix.js", array('jquery-effects-core'), '1.11. 3', 1 );187 $scripts->add( 'jquery-effects-slide', "/wp-includes/js/jquery/ui/effect-slide$dev_suffix.js", array('jquery-effects-core'), '1.11. 3', 1 );188 $scripts->add( 'jquery-effects-transfer', "/wp-includes/js/jquery/ui/effect-transfer$dev_suffix.js", array('jquery-effects-core'), '1.11. 3', 1 );189 190 $scripts->add( 'jquery-ui-accordion', "/wp-includes/js/jquery/ui/accordion$dev_suffix.js", array('jquery-ui-core', 'jquery-ui-widget'), '1.11. 3', 1 );191 $scripts->add( 'jquery-ui-autocomplete', "/wp-includes/js/jquery/ui/autocomplete$dev_suffix.js", array('jquery-ui-menu'), '1.11. 3', 1 );192 $scripts->add( 'jquery-ui-button', "/wp-includes/js/jquery/ui/button$dev_suffix.js", array('jquery-ui-core', 'jquery-ui-widget'), '1.11. 3', 1 );193 $scripts->add( 'jquery-ui-datepicker', "/wp-includes/js/jquery/ui/datepicker$dev_suffix.js", array('jquery-ui-core'), '1.11. 3', 1 );194 $scripts->add( 'jquery-ui-dialog', "/wp-includes/js/jquery/ui/dialog$dev_suffix.js", array('jquery-ui-resizable', 'jquery-ui-draggable', 'jquery-ui-button', 'jquery-ui-position'), '1.11. 3', 1 );195 $scripts->add( 'jquery-ui-draggable', "/wp-includes/js/jquery/ui/draggable$dev_suffix.js", array('jquery-ui-mouse'), '1.11. 3', 1 );196 $scripts->add( 'jquery-ui-droppable', "/wp-includes/js/jquery/ui/droppable$dev_suffix.js", array('jquery-ui-draggable'), '1.11. 3', 1 );197 $scripts->add( 'jquery-ui-menu', "/wp-includes/js/jquery/ui/menu$dev_suffix.js", array( 'jquery-ui-core', 'jquery-ui-widget', 'jquery-ui-position' ), '1.11. 3', 1 );198 $scripts->add( 'jquery-ui-mouse', "/wp-includes/js/jquery/ui/mouse$dev_suffix.js", array( 'jquery-ui-core', 'jquery-ui-widget' ), '1.11. 3', 1 );199 $scripts->add( 'jquery-ui-position', "/wp-includes/js/jquery/ui/position$dev_suffix.js", array('jquery'), '1.11. 3', 1 );200 $scripts->add( 'jquery-ui-progressbar', "/wp-includes/js/jquery/ui/progressbar$dev_suffix.js", array('jquery-ui-core', 'jquery-ui-widget'), '1.11. 3', 1 );201 $scripts->add( 'jquery-ui-resizable', "/wp-includes/js/jquery/ui/resizable$dev_suffix.js", array('jquery-ui-mouse'), '1.11. 3', 1 );202 $scripts->add( 'jquery-ui-selectable', "/wp-includes/js/jquery/ui/selectable$dev_suffix.js", array('jquery-ui-mouse'), '1.11. 3', 1 );203 $scripts->add( 'jquery-ui-selectmenu', "/wp-includes/js/jquery/ui/selectmenu$dev_suffix.js", array('jquery-ui-menu'), '1.11. 3', 1 );204 $scripts->add( 'jquery-ui-slider', "/wp-includes/js/jquery/ui/slider$dev_suffix.js", array('jquery-ui-mouse'), '1.11. 3', 1 );205 $scripts->add( 'jquery-ui-sortable', "/wp-includes/js/jquery/ui/sortable$dev_suffix.js", array('jquery-ui-mouse'), '1.11. 3', 1 );206 $scripts->add( 'jquery-ui-spinner', "/wp-includes/js/jquery/ui/spinner$dev_suffix.js", array( 'jquery-ui-button' ), '1.11. 3', 1 );207 $scripts->add( 'jquery-ui-tabs', "/wp-includes/js/jquery/ui/tabs$dev_suffix.js", array('jquery-ui-core', 'jquery-ui-widget'), '1.11. 3', 1 );208 $scripts->add( 'jquery-ui-tooltip', "/wp-includes/js/jquery/ui/tooltip$dev_suffix.js", array( 'jquery-ui-core', 'jquery-ui-widget', 'jquery-ui-position' ), '1.11. 3', 1 );209 $scripts->add( 'jquery-ui-widget', "/wp-includes/js/jquery/ui/widget$dev_suffix.js", array('jquery'), '1.11. 3', 1 );171 $scripts->add( 'jquery-ui-core', "/wp-includes/js/jquery/ui/core$dev_suffix.js", array('jquery'), '1.11.4', 1 ); 172 $scripts->add( 'jquery-effects-core', "/wp-includes/js/jquery/ui/effect$dev_suffix.js", array('jquery'), '1.11.4', 1 ); 173 174 $scripts->add( 'jquery-effects-blind', "/wp-includes/js/jquery/ui/effect-blind$dev_suffix.js", array('jquery-effects-core'), '1.11.4', 1 ); 175 $scripts->add( 'jquery-effects-bounce', "/wp-includes/js/jquery/ui/effect-bounce$dev_suffix.js", array('jquery-effects-core'), '1.11.4', 1 ); 176 $scripts->add( 'jquery-effects-clip', "/wp-includes/js/jquery/ui/effect-clip$dev_suffix.js", array('jquery-effects-core'), '1.11.4', 1 ); 177 $scripts->add( 'jquery-effects-drop', "/wp-includes/js/jquery/ui/effect-drop$dev_suffix.js", array('jquery-effects-core'), '1.11.4', 1 ); 178 $scripts->add( 'jquery-effects-explode', "/wp-includes/js/jquery/ui/effect-explode$dev_suffix.js", array('jquery-effects-core'), '1.11.4', 1 ); 179 $scripts->add( 'jquery-effects-fade', "/wp-includes/js/jquery/ui/effect-fade$dev_suffix.js", array('jquery-effects-core'), '1.11.4', 1 ); 180 $scripts->add( 'jquery-effects-fold', "/wp-includes/js/jquery/ui/effect-fold$dev_suffix.js", array('jquery-effects-core'), '1.11.4', 1 ); 181 $scripts->add( 'jquery-effects-highlight', "/wp-includes/js/jquery/ui/effect-highlight$dev_suffix.js", array('jquery-effects-core'), '1.11.4', 1 ); 182 $scripts->add( 'jquery-effects-puff', "/wp-includes/js/jquery/ui/effect-puff$dev_suffix.js", array('jquery-effects-core', 'jquery-effects-scale'), '1.11.4', 1 ); 183 $scripts->add( 'jquery-effects-pulsate', "/wp-includes/js/jquery/ui/effect-pulsate$dev_suffix.js", array('jquery-effects-core'), '1.11.4', 1 ); 184 $scripts->add( 'jquery-effects-scale', "/wp-includes/js/jquery/ui/effect-scale$dev_suffix.js", array('jquery-effects-core', 'jquery-effects-size'), '1.11.4', 1 ); 185 $scripts->add( 'jquery-effects-shake', "/wp-includes/js/jquery/ui/effect-shake$dev_suffix.js", array('jquery-effects-core'), '1.11.4', 1 ); 186 $scripts->add( 'jquery-effects-size', "/wp-includes/js/jquery/ui/effect-size$dev_suffix.js", array('jquery-effects-core'), '1.11.4', 1 ); 187 $scripts->add( 'jquery-effects-slide', "/wp-includes/js/jquery/ui/effect-slide$dev_suffix.js", array('jquery-effects-core'), '1.11.4', 1 ); 188 $scripts->add( 'jquery-effects-transfer', "/wp-includes/js/jquery/ui/effect-transfer$dev_suffix.js", array('jquery-effects-core'), '1.11.4', 1 ); 189 190 $scripts->add( 'jquery-ui-accordion', "/wp-includes/js/jquery/ui/accordion$dev_suffix.js", array('jquery-ui-core', 'jquery-ui-widget'), '1.11.4', 1 ); 191 $scripts->add( 'jquery-ui-autocomplete', "/wp-includes/js/jquery/ui/autocomplete$dev_suffix.js", array('jquery-ui-menu'), '1.11.4', 1 ); 192 $scripts->add( 'jquery-ui-button', "/wp-includes/js/jquery/ui/button$dev_suffix.js", array('jquery-ui-core', 'jquery-ui-widget'), '1.11.4', 1 ); 193 $scripts->add( 'jquery-ui-datepicker', "/wp-includes/js/jquery/ui/datepicker$dev_suffix.js", array('jquery-ui-core'), '1.11.4', 1 ); 194 $scripts->add( 'jquery-ui-dialog', "/wp-includes/js/jquery/ui/dialog$dev_suffix.js", array('jquery-ui-resizable', 'jquery-ui-draggable', 'jquery-ui-button', 'jquery-ui-position'), '1.11.4', 1 ); 195 $scripts->add( 'jquery-ui-draggable', "/wp-includes/js/jquery/ui/draggable$dev_suffix.js", array('jquery-ui-mouse'), '1.11.4', 1 ); 196 $scripts->add( 'jquery-ui-droppable', "/wp-includes/js/jquery/ui/droppable$dev_suffix.js", array('jquery-ui-draggable'), '1.11.4', 1 ); 197 $scripts->add( 'jquery-ui-menu', "/wp-includes/js/jquery/ui/menu$dev_suffix.js", array( 'jquery-ui-core', 'jquery-ui-widget', 'jquery-ui-position' ), '1.11.4', 1 ); 198 $scripts->add( 'jquery-ui-mouse', "/wp-includes/js/jquery/ui/mouse$dev_suffix.js", array( 'jquery-ui-core', 'jquery-ui-widget' ), '1.11.4', 1 ); 199 $scripts->add( 'jquery-ui-position', "/wp-includes/js/jquery/ui/position$dev_suffix.js", array('jquery'), '1.11.4', 1 ); 200 $scripts->add( 'jquery-ui-progressbar', "/wp-includes/js/jquery/ui/progressbar$dev_suffix.js", array('jquery-ui-core', 'jquery-ui-widget'), '1.11.4', 1 ); 201 $scripts->add( 'jquery-ui-resizable', "/wp-includes/js/jquery/ui/resizable$dev_suffix.js", array('jquery-ui-mouse'), '1.11.4', 1 ); 202 $scripts->add( 'jquery-ui-selectable', "/wp-includes/js/jquery/ui/selectable$dev_suffix.js", array('jquery-ui-mouse'), '1.11.4', 1 ); 203 $scripts->add( 'jquery-ui-selectmenu', "/wp-includes/js/jquery/ui/selectmenu$dev_suffix.js", array('jquery-ui-menu'), '1.11.4', 1 ); 204 $scripts->add( 'jquery-ui-slider', "/wp-includes/js/jquery/ui/slider$dev_suffix.js", array('jquery-ui-mouse'), '1.11.4', 1 ); 205 $scripts->add( 'jquery-ui-sortable', "/wp-includes/js/jquery/ui/sortable$dev_suffix.js", array('jquery-ui-mouse'), '1.11.4', 1 ); 206 $scripts->add( 'jquery-ui-spinner', "/wp-includes/js/jquery/ui/spinner$dev_suffix.js", array( 'jquery-ui-button' ), '1.11.4', 1 ); 207 $scripts->add( 'jquery-ui-tabs', "/wp-includes/js/jquery/ui/tabs$dev_suffix.js", array('jquery-ui-core', 'jquery-ui-widget'), '1.11.4', 1 ); 208 $scripts->add( 'jquery-ui-tooltip', "/wp-includes/js/jquery/ui/tooltip$dev_suffix.js", array( 'jquery-ui-core', 'jquery-ui-widget', 'jquery-ui-position' ), '1.11.4', 1 ); 209 $scripts->add( 'jquery-ui-widget', "/wp-includes/js/jquery/ui/widget$dev_suffix.js", array('jquery'), '1.11.4', 1 ); 210 210 211 211 // deprecated, not used in core, most functionality is included in jQuery 1.3
Note: See TracChangeset
for help on using the changeset viewer.