<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fc0 solid; padding: 6px; }
#msg ul, pre { overflow: auto; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<title>[17346] trunk/wp-includes: jQuery UI 1.8.9.</title>
</head>
<body>

<div id="msg">
<dl>
<dt>Revision</dt> <dd><a href="http://trac.wordpress.org/changeset/17346">17346</a></dd>
<dt>Author</dt> <dd>ryan</dd>
<dt>Date</dt> <dd>2011-01-22 02:30:03 +0000 (Sat, 22 Jan 2011)</dd>
</dl>

<h3>Log Message</h3>
<pre>jQuery UI 1.8.9. Props demetris. fixes <a href="http://trac.wordpress.org/ticket/16331">#16331</a></pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpincludesjsjqueryuibuttonjs">trunk/wp-includes/js/jquery/ui.button.js</a></li>
<li><a href="#trunkwpincludesjsjqueryuicorejs">trunk/wp-includes/js/jquery/ui.core.js</a></li>
<li><a href="#trunkwpincludesjsjqueryuidialogjs">trunk/wp-includes/js/jquery/ui.dialog.js</a></li>
<li><a href="#trunkwpincludesjsjqueryuidraggablejs">trunk/wp-includes/js/jquery/ui.draggable.js</a></li>
<li><a href="#trunkwpincludesjsjqueryuidroppablejs">trunk/wp-includes/js/jquery/ui.droppable.js</a></li>
<li><a href="#trunkwpincludesjsjqueryuimousejs">trunk/wp-includes/js/jquery/ui.mouse.js</a></li>
<li><a href="#trunkwpincludesjsjqueryuipositionjs">trunk/wp-includes/js/jquery/ui.position.js</a></li>
<li><a href="#trunkwpincludesjsjqueryuiresizablejs">trunk/wp-includes/js/jquery/ui.resizable.js</a></li>
<li><a href="#trunkwpincludesjsjqueryuiselectablejs">trunk/wp-includes/js/jquery/ui.selectable.js</a></li>
<li><a href="#trunkwpincludesjsjqueryuisortablejs">trunk/wp-includes/js/jquery/ui.sortable.js</a></li>
<li><a href="#trunkwpincludesjsjqueryuitabsjs">trunk/wp-includes/js/jquery/ui.tabs.js</a></li>
<li><a href="#trunkwpincludesjsjqueryuiwidgetjs">trunk/wp-includes/js/jquery/ui.widget.js</a></li>
<li><a href="#trunkwpincludesscriptloaderphp">trunk/wp-includes/script-loader.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpincludesjsjqueryuibuttonjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui.button.js (17345 => 17346)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui.button.js        2011-01-22 01:31:21 UTC (rev 17345)
+++ trunk/wp-includes/js/jquery/ui.button.js        2011-01-22 02:30:03 UTC (rev 17346)
</span><span class="lines">@@ -1,7 +1,7 @@
</span><span class="cx"> /*
</span><del>- * jQuery UI Button 1.8.8
</del><ins>+ * jQuery UI Button 1.8.9
</ins><span class="cx">  *
</span><del>- * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
</del><ins>+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
</ins><span class="cx">  * Dual licensed under the MIT or GPL Version 2 licenses.
</span><span class="cx">  * http://jquery.org/license
</span><span class="cx">  *
</span></span></pre></div>
<a id="trunkwpincludesjsjqueryuicorejs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui.core.js (17345 => 17346)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui.core.js        2011-01-22 01:31:21 UTC (rev 17345)
+++ trunk/wp-includes/js/jquery/ui.core.js        2011-01-22 02:30:03 UTC (rev 17346)
</span><span class="lines">@@ -1,13 +1,13 @@
</span><span class="cx"> /*!
</span><del>- * jQuery UI 1.8.8
</del><ins>+ * jQuery UI 1.8.9
</ins><span class="cx">  *
</span><del>- * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
</del><ins>+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
</ins><span class="cx">  * Dual licensed under the MIT or GPL Version 2 licenses.
</span><span class="cx">  * http://jquery.org/license
</span><span class="cx">  *
</span><span class="cx">  * http://docs.jquery.com/UI
</span><span class="cx">  */
</span><del>-(function(c,j){function k(a){return!c(a).parents().andSelf().filter(function(){return c.curCSS(this,&quot;visibility&quot;)===&quot;hidden&quot;||c.expr.filters.hidden(this)}).length}c.ui=c.ui||{};if(!c.ui.version){c.extend(c.ui,{version:&quot;1.8.8&quot;,keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,
</del><ins>+(function(c,j){function k(a){return!c(a).parents().andSelf().filter(function(){return c.curCSS(this,&quot;visibility&quot;)===&quot;hidden&quot;||c.expr.filters.hidden(this)}).length}c.ui=c.ui||{};if(!c.ui.version){c.extend(c.ui,{version:&quot;1.8.9&quot;,keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,
</ins><span class="cx"> NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}});c.fn.extend({_focus:c.fn.focus,focus:function(a,b){return typeof a===&quot;number&quot;?this.each(function(){var d=this;setTimeout(function(){c(d).focus();b&amp;&amp;b.call(d)},a)}):this._focus.apply(this,arguments)},scrollParent:function(){var a;a=c.browser.msie&amp;&amp;/(static|relative)/.test(this.css(&quot;position&quot;))||/absolute/.test(this.css(&quot;position&quot;))?this.parents().filter(function(){return/(relative|absolute|fixed)/.test(c.curCSS(this,
</span><span class="cx"> &quot;position&quot;,1))&amp;&amp;/(auto|scroll)/.test(c.curCSS(this,&quot;overflow&quot;,1)+c.curCSS(this,&quot;overflow-y&quot;,1)+c.curCSS(this,&quot;overflow-x&quot;,1))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(c.curCSS(this,&quot;overflow&quot;,1)+c.curCSS(this,&quot;overflow-y&quot;,1)+c.curCSS(this,&quot;overflow-x&quot;,1))}).eq(0);return/fixed/.test(this.css(&quot;position&quot;))||!a.length?c(document):a},zIndex:function(a){if(a!==j)return this.css(&quot;zIndex&quot;,a);if(this.length){a=c(this[0]);for(var b;a.length&amp;&amp;a[0]!==document;){b=a.css(&quot;position&quot;);
</span><span class="cx"> if(b===&quot;absolute&quot;||b===&quot;relative&quot;||b===&quot;fixed&quot;){b=parseInt(a.css(&quot;zIndex&quot;),10);if(!isNaN(b)&amp;&amp;b!==0)return b}a=a.parent()}}return 0},disableSelection:function(){return this.bind((c.support.selectstart?&quot;selectstart&quot;:&quot;mousedown&quot;)+&quot;.ui-disableSelection&quot;,function(a){a.preventDefault()})},enableSelection:function(){return this.unbind(&quot;.ui-disableSelection&quot;)}});c.each([&quot;Width&quot;,&quot;Height&quot;],function(a,b){function d(f,g,l,m){c.each(e,function(){g-=parseFloat(c.curCSS(f,&quot;padding&quot;+this,true))||0;if(l)g-=parseFloat(c.curCSS(f,
</span></span></pre></div>
<a id="trunkwpincludesjsjqueryuidialogjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui.dialog.js (17345 => 17346)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui.dialog.js        2011-01-22 01:31:21 UTC (rev 17345)
+++ trunk/wp-includes/js/jquery/ui.dialog.js        2011-01-22 02:30:03 UTC (rev 17346)
</span><span class="lines">@@ -1,7 +1,7 @@
</span><span class="cx"> /*
</span><del>- * jQuery UI Dialog 1.8.8
</del><ins>+ * jQuery UI Dialog 1.8.9
</ins><span class="cx">  *
</span><del>- * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
</del><ins>+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
</ins><span class="cx">  * Dual licensed under the MIT or GPL Version 2 licenses.
</span><span class="cx">  * http://jquery.org/license
</span><span class="cx">  *
</span><span class="lines">@@ -33,7 +33,7 @@
</span><span class="cx"> l)d[g]=f});e&amp;&amp;this._size();this.uiDialog.is(&quot;:data(resizable)&quot;)&amp;&amp;this.uiDialog.resizable(&quot;option&quot;,d)},_setOption:function(a,b){var d=this,e=d.uiDialog;switch(a){case &quot;beforeclose&quot;:a=&quot;beforeClose&quot;;break;case &quot;buttons&quot;:d._createButtons(b);break;case &quot;closeText&quot;:d.uiDialogTitlebarCloseText.text(&quot;&quot;+b);break;case &quot;dialogClass&quot;:e.removeClass(d.options.dialogClass).addClass(&quot;ui-dialog ui-widget ui-widget-content ui-corner-all &quot;+b);break;case &quot;disabled&quot;:b?e.addClass(&quot;ui-dialog-disabled&quot;):e.removeClass(&quot;ui-dialog-disabled&quot;);
</span><span class="cx"> break;case &quot;draggable&quot;:var g=e.is(&quot;:data(draggable)&quot;);g&amp;&amp;!b&amp;&amp;e.draggable(&quot;destroy&quot;);!g&amp;&amp;b&amp;&amp;d._makeDraggable();break;case &quot;position&quot;:d._position(b);break;case &quot;resizable&quot;:(g=e.is(&quot;:data(resizable)&quot;))&amp;&amp;!b&amp;&amp;e.resizable(&quot;destroy&quot;);g&amp;&amp;typeof b===&quot;string&quot;&amp;&amp;e.resizable(&quot;option&quot;,&quot;handles&quot;,b);!g&amp;&amp;b!==false&amp;&amp;d._makeResizable(b);break;case &quot;title&quot;:c(&quot;.ui-dialog-title&quot;,d.uiDialogTitlebar).html(&quot;&quot;+(b||&quot;&amp;#160;&quot;));break}c.Widget.prototype._setOption.apply(d,arguments)},_size:function(){var a=this.options,b,d,e=
</span><span class="cx"> this.uiDialog.is(&quot;:visible&quot;);this.element.show().css({width:&quot;auto&quot;,minHeight:0,height:0});if(a.minWidth&gt;a.width)a.width=a.minWidth;b=this.uiDialog.css({height:&quot;auto&quot;,width:a.width}).height();d=Math.max(0,a.minHeight-b);if(a.height===&quot;auto&quot;)if(c.support.minHeight)this.element.css({minHeight:d,height:&quot;auto&quot;});else{this.uiDialog.show();a=this.element.css(&quot;height&quot;,&quot;auto&quot;).height();e||this.uiDialog.hide();this.element.height(Math.max(a,d))}else this.element.height(Math.max(a.height-b,0));this.uiDialog.is(&quot;:data(resizable)&quot;)&amp;&amp;
</span><del>-this.uiDialog.resizable(&quot;option&quot;,&quot;minHeight&quot;,this._minHeight())}});c.extend(c.ui.dialog,{version:&quot;1.8.8&quot;,uuid:0,maxZ:0,getTitleId:function(a){a=a.attr(&quot;id&quot;);if(!a){this.uuid+=1;a=this.uuid}return&quot;ui-dialog-title-&quot;+a},overlay:function(a){this.$el=c.ui.dialog.overlay.create(a)}});c.extend(c.ui.dialog.overlay,{instances:[],oldInstances:[],maxZ:0,events:c.map(&quot;focus,mousedown,mouseup,keydown,keypress,click&quot;.split(&quot;,&quot;),function(a){return a+&quot;.dialog-overlay&quot;}).join(&quot; &quot;),create:function(a){if(this.instances.length===
</del><ins>+this.uiDialog.resizable(&quot;option&quot;,&quot;minHeight&quot;,this._minHeight())}});c.extend(c.ui.dialog,{version:&quot;1.8.9&quot;,uuid:0,maxZ:0,getTitleId:function(a){a=a.attr(&quot;id&quot;);if(!a){this.uuid+=1;a=this.uuid}return&quot;ui-dialog-title-&quot;+a},overlay:function(a){this.$el=c.ui.dialog.overlay.create(a)}});c.extend(c.ui.dialog.overlay,{instances:[],oldInstances:[],maxZ:0,events:c.map(&quot;focus,mousedown,mouseup,keydown,keypress,click&quot;.split(&quot;,&quot;),function(a){return a+&quot;.dialog-overlay&quot;}).join(&quot; &quot;),create:function(a){if(this.instances.length===
</ins><span class="cx"> 0){setTimeout(function(){c.ui.dialog.overlay.instances.length&amp;&amp;c(document).bind(c.ui.dialog.overlay.events,function(d){if(c(d.target).zIndex()&lt;c.ui.dialog.overlay.maxZ)return false})},1);c(document).bind(&quot;keydown.dialog-overlay&quot;,function(d){if(a.options.closeOnEscape&amp;&amp;d.keyCode&amp;&amp;d.keyCode===c.ui.keyCode.ESCAPE){a.close(d);d.preventDefault()}});c(window).bind(&quot;resize.dialog-overlay&quot;,c.ui.dialog.overlay.resize)}var b=(this.oldInstances.pop()||c(&quot;&lt;div&gt;&lt;/div&gt;&quot;).addClass(&quot;ui-widget-overlay&quot;)).appendTo(document.body).css({width:this.width(),
</span><span class="cx"> height:this.height()});c.fn.bgiframe&amp;&amp;b.bgiframe();this.instances.push(b);return b},destroy:function(a){var b=c.inArray(a,this.instances);b!=-1&amp;&amp;this.oldInstances.push(this.instances.splice(b,1)[0]);this.instances.length===0&amp;&amp;c([document,window]).unbind(&quot;.dialog-overlay&quot;);a.remove();var d=0;c.each(this.instances,function(){d=Math.max(d,this.css(&quot;z-index&quot;))});this.maxZ=d},height:function(){var a,b;if(c.browser.msie&amp;&amp;c.browser.version&lt;7){a=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);
</span><span class="cx"> b=Math.max(document.documentElement.offsetHeight,document.body.offsetHeight);return a&lt;b?c(window).height()+&quot;px&quot;:a+&quot;px&quot;}else return c(document).height()+&quot;px&quot;},width:function(){var a,b;if(c.browser.msie&amp;&amp;c.browser.version&lt;7){a=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth);b=Math.max(document.documentElement.offsetWidth,document.body.offsetWidth);return a&lt;b?c(window).width()+&quot;px&quot;:a+&quot;px&quot;}else return c(document).width()+&quot;px&quot;},resize:function(){var a=c([]);c.each(c.ui.dialog.overlay.instances,
</span></span></pre></div>
<a id="trunkwpincludesjsjqueryuidraggablejs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui.draggable.js (17345 => 17346)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui.draggable.js        2011-01-22 01:31:21 UTC (rev 17345)
+++ trunk/wp-includes/js/jquery/ui.draggable.js        2011-01-22 02:30:03 UTC (rev 17346)
</span><span class="lines">@@ -1,7 +1,7 @@
</span><span class="cx"> /*
</span><del>- * jQuery UI Draggable 1.8.8
</del><ins>+ * jQuery UI Draggable 1.8.9
</ins><span class="cx">  *
</span><del>- * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
</del><ins>+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
</ins><span class="cx">  * Dual licensed under the MIT or GPL Version 2 licenses.
</span><span class="cx">  * http://jquery.org/license
</span><span class="cx">  *
</span><span class="lines">@@ -17,8 +17,8 @@
</span><span class="cx"> this.options;if(this.helper||b.disabled||d(a.target).is(&quot;.ui-resizable-handle&quot;))return false;this.handle=this._getHandle(a);if(!this.handle)return false;return true},_mouseStart:function(a){var b=this.options;this.helper=this._createHelper(a);this._cacheHelperProportions();if(d.ui.ddmanager)d.ui.ddmanager.current=this;this._cacheMargins();this.cssPosition=this.helper.css(&quot;position&quot;);this.scrollParent=this.helper.scrollParent();this.offset=this.positionAbs=this.element.offset();this.offset={top:this.offset.top-
</span><span class="cx"> this.margins.top,left:this.offset.left-this.margins.left};d.extend(this.offset,{click:{left:a.pageX-this.offset.left,top:a.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()});this.originalPosition=this.position=this._generatePosition(a);this.originalPageX=a.pageX;this.originalPageY=a.pageY;b.cursorAt&amp;&amp;this._adjustOffsetFromHelper(b.cursorAt);b.containment&amp;&amp;this._setContainment();if(this._trigger(&quot;start&quot;,a)===false){this._clear();return false}this._cacheHelperProportions();
</span><span class="cx"> d.ui.ddmanager&amp;&amp;!b.dropBehaviour&amp;&amp;d.ui.ddmanager.prepareOffsets(this,a);this.helper.addClass(&quot;ui-draggable-dragging&quot;);this._mouseDrag(a,true);return true},_mouseDrag:function(a,b){this.position=this._generatePosition(a);this.positionAbs=this._convertPositionTo(&quot;absolute&quot;);if(!b){b=this._uiHash();if(this._trigger(&quot;drag&quot;,a,b)===false){this._mouseUp({});return false}this.position=b.position}if(!this.options.axis||this.options.axis!=&quot;y&quot;)this.helper[0].style.left=this.position.left+&quot;px&quot;;if(!this.options.axis||
</span><del>-this.options.axis!=&quot;x&quot;)this.helper[0].style.top=this.position.top+&quot;px&quot;;d.ui.ddmanager&amp;&amp;d.ui.ddmanager.drag(this,a);return false},_mouseStop:function(a){var b=false;if(d.ui.ddmanager&amp;&amp;!this.options.dropBehaviour)b=d.ui.ddmanager.drop(this,a);if(this.dropped){b=this.dropped;this.dropped=false}if(!this.element[0]||!this.element[0].parentNode)return false;if(this.options.revert==&quot;invalid&quot;&amp;&amp;!b||this.options.revert==&quot;valid&quot;&amp;&amp;b||this.options.revert===true||d.isFunction(this.options.revert)&amp;&amp;this.options.revert.call(this.element,
-b)){var c=this;d(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){c._trigger(&quot;stop&quot;,a)!==false&amp;&amp;c._clear()})}else this._trigger(&quot;stop&quot;,a)!==false&amp;&amp;this._clear();return false},cancel:function(){this.helper.is(&quot;.ui-draggable-dragging&quot;)?this._mouseUp({}):this._clear();return this},_getHandle:function(a){var b=!this.options.handle||!d(this.options.handle,this.element).length?true:false;d(this.options.handle,this.element).find(&quot;*&quot;).andSelf().each(function(){if(this==
</del><ins>+this.options.axis!=&quot;x&quot;)this.helper[0].style.top=this.position.top+&quot;px&quot;;d.ui.ddmanager&amp;&amp;d.ui.ddmanager.drag(this,a);return false},_mouseStop:function(a){var b=false;if(d.ui.ddmanager&amp;&amp;!this.options.dropBehaviour)b=d.ui.ddmanager.drop(this,a);if(this.dropped){b=this.dropped;this.dropped=false}if((!this.element[0]||!this.element[0].parentNode)&amp;&amp;this.options.helper==&quot;original&quot;)return false;if(this.options.revert==&quot;invalid&quot;&amp;&amp;!b||this.options.revert==&quot;valid&quot;&amp;&amp;b||this.options.revert===true||d.isFunction(this.options.revert)&amp;&amp;
+this.options.revert.call(this.element,b)){var c=this;d(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){c._trigger(&quot;stop&quot;,a)!==false&amp;&amp;c._clear()})}else this._trigger(&quot;stop&quot;,a)!==false&amp;&amp;this._clear();return false},cancel:function(){this.helper.is(&quot;.ui-draggable-dragging&quot;)?this._mouseUp({}):this._clear();return this},_getHandle:function(a){var b=!this.options.handle||!d(this.options.handle,this.element).length?true:false;d(this.options.handle,this.element).find(&quot;*&quot;).andSelf().each(function(){if(this==
</ins><span class="cx"> a.target)b=true});return b},_createHelper:function(a){var b=this.options;a=d.isFunction(b.helper)?d(b.helper.apply(this.element[0],[a])):b.helper==&quot;clone&quot;?this.element.clone():this.element;a.parents(&quot;body&quot;).length||a.appendTo(b.appendTo==&quot;parent&quot;?this.element[0].parentNode:b.appendTo);a[0]!=this.element[0]&amp;&amp;!/(fixed|absolute)/.test(a.css(&quot;position&quot;))&amp;&amp;a.css(&quot;position&quot;,&quot;absolute&quot;);return a},_adjustOffsetFromHelper:function(a){if(typeof a==&quot;string&quot;)a=a.split(&quot; &quot;);if(d.isArray(a))a={left:+a[0],top:+a[1]||
</span><span class="cx"> 0};if(&quot;left&quot;in a)this.offset.click.left=a.left+this.margins.left;if(&quot;right&quot;in a)this.offset.click.left=this.helperProportions.width-a.right+this.margins.left;if(&quot;top&quot;in a)this.offset.click.top=a.top+this.margins.top;if(&quot;bottom&quot;in a)this.offset.click.top=this.helperProportions.height-a.bottom+this.margins.top},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var a=this.offsetParent.offset();if(this.cssPosition==&quot;absolute&quot;&amp;&amp;this.scrollParent[0]!=document&amp;&amp;d.ui.contains(this.scrollParent[0],
</span><span class="cx"> this.offsetParent[0])){a.left+=this.scrollParent.scrollLeft();a.top+=this.scrollParent.scrollTop()}if(this.offsetParent[0]==document.body||this.offsetParent[0].tagName&amp;&amp;this.offsetParent[0].tagName.toLowerCase()==&quot;html&quot;&amp;&amp;d.browser.msie)a={top:0,left:0};return{top:a.top+(parseInt(this.offsetParent.css(&quot;borderTopWidth&quot;),10)||0),left:a.left+(parseInt(this.offsetParent.css(&quot;borderLeftWidth&quot;),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition==&quot;relative&quot;){var a=this.element.position();return{top:a.top-
</span><span class="lines">@@ -31,7 +31,7 @@
</span><span class="cx"> if(this.originalPosition){if(this.containment){if(a.pageX-this.offset.click.left&lt;this.containment[0])e=this.containment[0]+this.offset.click.left;if(a.pageY-this.offset.click.top&lt;this.containment[1])g=this.containment[1]+this.offset.click.top;if(a.pageX-this.offset.click.left&gt;this.containment[2])e=this.containment[2]+this.offset.click.left;if(a.pageY-this.offset.click.top&gt;this.containment[3])g=this.containment[3]+this.offset.click.top}if(b.grid){g=this.originalPageY+Math.round((g-this.originalPageY)/
</span><span class="cx"> b.grid[1])*b.grid[1];g=this.containment?!(g-this.offset.click.top&lt;this.containment[1]||g-this.offset.click.top&gt;this.containment[3])?g:!(g-this.offset.click.top&lt;this.containment[1])?g-b.grid[1]:g+b.grid[1]:g;e=this.originalPageX+Math.round((e-this.originalPageX)/b.grid[0])*b.grid[0];e=this.containment?!(e-this.offset.click.left&lt;this.containment[0]||e-this.offset.click.left&gt;this.containment[2])?e:!(e-this.offset.click.left&lt;this.containment[0])?e-b.grid[0]:e+b.grid[0]:e}}return{top:g-this.offset.click.top-
</span><span class="cx"> this.offset.relative.top-this.offset.parent.top+(d.browser.safari&amp;&amp;d.browser.version&lt;526&amp;&amp;this.cssPosition==&quot;fixed&quot;?0:this.cssPosition==&quot;fixed&quot;?-this.scrollParent.scrollTop():f?0:c.scrollTop()),left:e-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(d.browser.safari&amp;&amp;d.browser.version&lt;526&amp;&amp;this.cssPosition==&quot;fixed&quot;?0:this.cssPosition==&quot;fixed&quot;?-this.scrollParent.scrollLeft():f?0:c.scrollLeft())}},_clear:function(){this.helper.removeClass(&quot;ui-draggable-dragging&quot;);this.helper[0]!=
</span><del>-this.element[0]&amp;&amp;!this.cancelHelperRemoval&amp;&amp;this.helper.remove();this.helper=null;this.cancelHelperRemoval=false},_trigger:function(a,b,c){c=c||this._uiHash();d.ui.plugin.call(this,a,[b,c]);if(a==&quot;drag&quot;)this.positionAbs=this._convertPositionTo(&quot;absolute&quot;);return d.Widget.prototype._trigger.call(this,a,b,c)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}});d.extend(d.ui.draggable,{version:&quot;1.8.8&quot;});
</del><ins>+this.element[0]&amp;&amp;!this.cancelHelperRemoval&amp;&amp;this.helper.remove();this.helper=null;this.cancelHelperRemoval=false},_trigger:function(a,b,c){c=c||this._uiHash();d.ui.plugin.call(this,a,[b,c]);if(a==&quot;drag&quot;)this.positionAbs=this._convertPositionTo(&quot;absolute&quot;);return d.Widget.prototype._trigger.call(this,a,b,c)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}});d.extend(d.ui.draggable,{version:&quot;1.8.9&quot;});
</ins><span class="cx"> d.ui.plugin.add(&quot;draggable&quot;,&quot;connectToSortable&quot;,{start:function(a,b){var c=d(this).data(&quot;draggable&quot;),f=c.options,e=d.extend({},b,{item:c.element});c.sortables=[];d(f.connectToSortable).each(function(){var g=d.data(this,&quot;sortable&quot;);if(g&amp;&amp;!g.options.disabled){c.sortables.push({instance:g,shouldRevert:g.options.revert});g._refreshItems();g._trigger(&quot;activate&quot;,a,e)}})},stop:function(a,b){var c=d(this).data(&quot;draggable&quot;),f=d.extend({},b,{item:c.element});d.each(c.sortables,function(){if(this.instance.isOver){this.instance.isOver=
</span><span class="cx"> 0;c.cancelHelperRemoval=true;this.instance.cancelHelperRemoval=false;if(this.shouldRevert)this.instance.options.revert=true;this.instance._mouseStop(a);this.instance.options.helper=this.instance.options._helper;c.options.helper==&quot;original&quot;&amp;&amp;this.instance.currentItem.css({top:&quot;auto&quot;,left:&quot;auto&quot;})}else{this.instance.cancelHelperRemoval=false;this.instance._trigger(&quot;deactivate&quot;,a,f)}})},drag:function(a,b){var c=d(this).data(&quot;draggable&quot;),f=this;d.each(c.sortables,function(){this.instance.positionAbs=
</span><span class="cx"> c.positionAbs;this.instance.helperProportions=c.helperProportions;this.instance.offset.click=c.offset.click;if(this.instance._intersectsWith(this.instance.containerCache)){if(!this.instance.isOver){this.instance.isOver=1;this.instance.currentItem=d(f).clone().appendTo(this.instance.element).data(&quot;sortable-item&quot;,true);this.instance.options._helper=this.instance.options.helper;this.instance.options.helper=function(){return b.helper[0]};a.target=this.instance.currentItem[0];this.instance._mouseCapture(a,
</span></span></pre></div>
<a id="trunkwpincludesjsjqueryuidroppablejs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui.droppable.js (17345 => 17346)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui.droppable.js        2011-01-22 01:31:21 UTC (rev 17345)
+++ trunk/wp-includes/js/jquery/ui.droppable.js        2011-01-22 02:30:03 UTC (rev 17346)
</span><span class="lines">@@ -1,7 +1,7 @@
</span><span class="cx"> /*
</span><del>- * jQuery UI Droppable 1.8.8
</del><ins>+ * jQuery UI Droppable 1.8.9
</ins><span class="cx">  *
</span><del>- * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
</del><ins>+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
</ins><span class="cx">  * Dual licensed under the MIT or GPL Version 2 licenses.
</span><span class="cx">  * http://jquery.org/license
</span><span class="cx">  *
</span><span class="lines">@@ -18,7 +18,7 @@
</span><span class="cx"> this.element.addClass(this.options.activeClass);b&amp;&amp;this._trigger(&quot;activate&quot;,a,this.ui(b))},_deactivate:function(a){var b=d.ui.ddmanager.current;this.options.activeClass&amp;&amp;this.element.removeClass(this.options.activeClass);b&amp;&amp;this._trigger(&quot;deactivate&quot;,a,this.ui(b))},_over:function(a){var b=d.ui.ddmanager.current;if(!(!b||(b.currentItem||b.element)[0]==this.element[0]))if(this.accept.call(this.element[0],b.currentItem||b.element)){this.options.hoverClass&amp;&amp;this.element.addClass(this.options.hoverClass);
</span><span class="cx"> this._trigger(&quot;over&quot;,a,this.ui(b))}},_out:function(a){var b=d.ui.ddmanager.current;if(!(!b||(b.currentItem||b.element)[0]==this.element[0]))if(this.accept.call(this.element[0],b.currentItem||b.element)){this.options.hoverClass&amp;&amp;this.element.removeClass(this.options.hoverClass);this._trigger(&quot;out&quot;,a,this.ui(b))}},_drop:function(a,b){var c=b||d.ui.ddmanager.current;if(!c||(c.currentItem||c.element)[0]==this.element[0])return false;var e=false;this.element.find(&quot;:data(droppable)&quot;).not(&quot;.ui-draggable-dragging&quot;).each(function(){var g=
</span><span class="cx"> d.data(this,&quot;droppable&quot;);if(g.options.greedy&amp;&amp;!g.options.disabled&amp;&amp;g.options.scope==c.options.scope&amp;&amp;g.accept.call(g.element[0],c.currentItem||c.element)&amp;&amp;d.ui.intersect(c,d.extend(g,{offset:g.element.offset()}),g.options.tolerance)){e=true;return false}});if(e)return false;if(this.accept.call(this.element[0],c.currentItem||c.element)){this.options.activeClass&amp;&amp;this.element.removeClass(this.options.activeClass);this.options.hoverClass&amp;&amp;this.element.removeClass(this.options.hoverClass);this._trigger(&quot;drop&quot;,
</span><del>-a,this.ui(c));return this.element}return false},ui:function(a){return{draggable:a.currentItem||a.element,helper:a.helper,position:a.position,offset:a.positionAbs}}});d.extend(d.ui.droppable,{version:&quot;1.8.8&quot;});d.ui.intersect=function(a,b,c){if(!b.offset)return false;var e=(a.positionAbs||a.position.absolute).left,g=e+a.helperProportions.width,f=(a.positionAbs||a.position.absolute).top,h=f+a.helperProportions.height,i=b.offset.left,k=i+b.proportions.width,j=b.offset.top,l=j+b.proportions.height;
</del><ins>+a,this.ui(c));return this.element}return false},ui:function(a){return{draggable:a.currentItem||a.element,helper:a.helper,position:a.position,offset:a.positionAbs}}});d.extend(d.ui.droppable,{version:&quot;1.8.9&quot;});d.ui.intersect=function(a,b,c){if(!b.offset)return false;var e=(a.positionAbs||a.position.absolute).left,g=e+a.helperProportions.width,f=(a.positionAbs||a.position.absolute).top,h=f+a.helperProportions.height,i=b.offset.left,k=i+b.proportions.width,j=b.offset.top,l=j+b.proportions.height;
</ins><span class="cx"> switch(c){case &quot;fit&quot;:return i&lt;=e&amp;&amp;g&lt;=k&amp;&amp;j&lt;=f&amp;&amp;h&lt;=l;case &quot;intersect&quot;:return i&lt;e+a.helperProportions.width/2&amp;&amp;g-a.helperProportions.width/2&lt;k&amp;&amp;j&lt;f+a.helperProportions.height/2&amp;&amp;h-a.helperProportions.height/2&lt;l;case &quot;pointer&quot;:return d.ui.isOver((a.positionAbs||a.position.absolute).top+(a.clickOffset||a.offset.click).top,(a.positionAbs||a.position.absolute).left+(a.clickOffset||a.offset.click).left,j,i,b.proportions.height,b.proportions.width);case &quot;touch&quot;:return(f&gt;=j&amp;&amp;f&lt;=l||h&gt;=j&amp;&amp;h&lt;=l||f&lt;j&amp;&amp;h&gt;l)&amp;&amp;(e&gt;=
</span><span class="cx"> i&amp;&amp;e&lt;=k||g&gt;=i&amp;&amp;g&lt;=k||e&lt;i&amp;&amp;g&gt;k);default:return false}};d.ui.ddmanager={current:null,droppables:{&quot;default&quot;:[]},prepareOffsets:function(a,b){var c=d.ui.ddmanager.droppables[a.options.scope]||[],e=b?b.type:null,g=(a.currentItem||a.element).find(&quot;:data(droppable)&quot;).andSelf(),f=0;a:for(;f&lt;c.length;f++)if(!(c[f].options.disabled||a&amp;&amp;!c[f].accept.call(c[f].element[0],a.currentItem||a.element))){for(var h=0;h&lt;g.length;h++)if(g[h]==c[f].element[0]){c[f].proportions.height=0;continue a}c[f].visible=c[f].element.css(&quot;display&quot;)!=
</span><span class="cx"> &quot;none&quot;;if(c[f].visible){c[f].offset=c[f].element.offset();c[f].proportions={width:c[f].element[0].offsetWidth,height:c[f].element[0].offsetHeight};e==&quot;mousedown&quot;&amp;&amp;c[f]._activate.call(c[f],b)}}},drop:function(a,b){var c=false;d.each(d.ui.ddmanager.droppables[a.options.scope]||[],function(){if(this.options){if(!this.options.disabled&amp;&amp;this.visible&amp;&amp;d.ui.intersect(a,this,this.options.tolerance))c=c||this._drop.call(this,b);if(!this.options.disabled&amp;&amp;this.visible&amp;&amp;this.accept.call(this.element[0],a.currentItem||
</span></span></pre></div>
<a id="trunkwpincludesjsjqueryuimousejs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui.mouse.js (17345 => 17346)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui.mouse.js        2011-01-22 01:31:21 UTC (rev 17345)
+++ trunk/wp-includes/js/jquery/ui.mouse.js        2011-01-22 02:30:03 UTC (rev 17346)
</span><span class="lines">@@ -1,7 +1,7 @@
</span><span class="cx"> /*!
</span><del>- * jQuery UI Mouse 1.8.8
</del><ins>+ * jQuery UI Mouse 1.8.9
</ins><span class="cx">  *
</span><del>- * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
</del><ins>+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
</ins><span class="cx">  * Dual licensed under the MIT or GPL Version 2 licenses.
</span><span class="cx">  * http://jquery.org/license
</span><span class="cx">  *
</span></span></pre></div>
<a id="trunkwpincludesjsjqueryuipositionjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui.position.js (17345 => 17346)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui.position.js        2011-01-22 01:31:21 UTC (rev 17345)
+++ trunk/wp-includes/js/jquery/ui.position.js        2011-01-22 02:30:03 UTC (rev 17346)
</span><span class="lines">@@ -1,7 +1,7 @@
</span><span class="cx"> /*
</span><del>- * jQuery UI Position 1.8.8
</del><ins>+ * jQuery UI Position 1.8.9
</ins><span class="cx">  *
</span><del>- * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
</del><ins>+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
</ins><span class="cx">  * Dual licensed under the MIT or GPL Version 2 licenses.
</span><span class="cx">  * http://jquery.org/license
</span><span class="cx">  *
</span></span></pre></div>
<a id="trunkwpincludesjsjqueryuiresizablejs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui.resizable.js (17345 => 17346)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui.resizable.js        2011-01-22 01:31:21 UTC (rev 17345)
+++ trunk/wp-includes/js/jquery/ui.resizable.js        2011-01-22 02:30:03 UTC (rev 17346)
</span><span class="lines">@@ -1,7 +1,7 @@
</span><span class="cx"> /*
</span><del>- * jQuery UI Resizable 1.8.8
</del><ins>+ * jQuery UI Resizable 1.8.9
</ins><span class="cx">  *
</span><del>- * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
</del><ins>+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
</ins><span class="cx">  * Dual licensed under the MIT or GPL Version 2 licenses.
</span><span class="cx">  * http://jquery.org/license
</span><span class="cx">  *
</span><span class="lines">@@ -32,7 +32,7 @@
</span><span class="cx"> this.element.offset();if(this._helper){this.helper=this.helper||e('&lt;div style=&quot;overflow:hidden;&quot;&gt;&lt;/div&gt;');var a=e.browser.msie&amp;&amp;e.browser.version&lt;7,c=a?1:0;a=a?2:-1;this.helper.addClass(this._helper).css({width:this.element.outerWidth()+a,height:this.element.outerHeight()+a,position:&quot;absolute&quot;,left:this.elementOffset.left-c+&quot;px&quot;,top:this.elementOffset.top-c+&quot;px&quot;,zIndex:++b.zIndex});this.helper.appendTo(&quot;body&quot;).disableSelection()}else this.helper=this.element},_change:{e:function(b,a){return{width:this.originalSize.width+
</span><span class="cx"> a}},w:function(b,a){return{left:this.originalPosition.left+a,width:this.originalSize.width-a}},n:function(b,a,c){return{top:this.originalPosition.top+c,height:this.originalSize.height-c}},s:function(b,a,c){return{height:this.originalSize.height+c}},se:function(b,a,c){return e.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[b,a,c]))},sw:function(b,a,c){return e.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[b,a,c]))},ne:function(b,a,c){return e.extend(this._change.n.apply(this,
</span><span class="cx"> arguments),this._change.e.apply(this,[b,a,c]))},nw:function(b,a,c){return e.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[b,a,c]))}},_propagate:function(b,a){e.ui.plugin.call(this,b,[a,this.ui()]);b!=&quot;resize&quot;&amp;&amp;this._trigger(b,a,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}});e.extend(e.ui.resizable,
</span><del>-{version:&quot;1.8.8&quot;});e.ui.plugin.add(&quot;resizable&quot;,&quot;alsoResize&quot;,{start:function(){var b=e(this).data(&quot;resizable&quot;).options,a=function(c){e(c).each(function(){var d=e(this);d.data(&quot;resizable-alsoresize&quot;,{width:parseInt(d.width(),10),height:parseInt(d.height(),10),left:parseInt(d.css(&quot;left&quot;),10),top:parseInt(d.css(&quot;top&quot;),10),position:d.css(&quot;position&quot;)})})};if(typeof b.alsoResize==&quot;object&quot;&amp;&amp;!b.alsoResize.parentNode)if(b.alsoResize.length){b.alsoResize=b.alsoResize[0];a(b.alsoResize)}else e.each(b.alsoResize,
</del><ins>+{version:&quot;1.8.9&quot;});e.ui.plugin.add(&quot;resizable&quot;,&quot;alsoResize&quot;,{start:function(){var b=e(this).data(&quot;resizable&quot;).options,a=function(c){e(c).each(function(){var d=e(this);d.data(&quot;resizable-alsoresize&quot;,{width:parseInt(d.width(),10),height:parseInt(d.height(),10),left:parseInt(d.css(&quot;left&quot;),10),top:parseInt(d.css(&quot;top&quot;),10),position:d.css(&quot;position&quot;)})})};if(typeof b.alsoResize==&quot;object&quot;&amp;&amp;!b.alsoResize.parentNode)if(b.alsoResize.length){b.alsoResize=b.alsoResize[0];a(b.alsoResize)}else e.each(b.alsoResize,
</ins><span class="cx"> function(c){a(c)});else a(b.alsoResize)},resize:function(b,a){var c=e(this).data(&quot;resizable&quot;);b=c.options;var d=c.originalSize,f=c.originalPosition,g={height:c.size.height-d.height||0,width:c.size.width-d.width||0,top:c.position.top-f.top||0,left:c.position.left-f.left||0},h=function(i,j){e(i).each(function(){var k=e(this),q=e(this).data(&quot;resizable-alsoresize&quot;),p={},r=j&amp;&amp;j.length?j:k.parents(a.originalElement[0]).length?[&quot;width&quot;,&quot;height&quot;]:[&quot;width&quot;,&quot;height&quot;,&quot;top&quot;,&quot;left&quot;];e.each(r,function(n,o){if((n=
</span><span class="cx"> (q[o]||0)+(g[o]||0))&amp;&amp;n&gt;=0)p[o]=n||null});if(e.browser.opera&amp;&amp;/relative/.test(k.css(&quot;position&quot;))){c._revertToRelativePosition=true;k.css({position:&quot;absolute&quot;,top:&quot;auto&quot;,left:&quot;auto&quot;})}k.css(p)})};typeof b.alsoResize==&quot;object&quot;&amp;&amp;!b.alsoResize.nodeType?e.each(b.alsoResize,function(i,j){h(i,j)}):h(b.alsoResize)},stop:function(){var b=e(this).data(&quot;resizable&quot;),a=b.options,c=function(d){e(d).each(function(){var f=e(this);f.css({position:f.data(&quot;resizable-alsoresize&quot;).position})})};if(b._revertToRelativePosition){b._revertToRelativePosition=
</span><span class="cx"> false;typeof a.alsoResize==&quot;object&quot;&amp;&amp;!a.alsoResize.nodeType?e.each(a.alsoResize,function(d){c(d)}):c(a.alsoResize)}e(this).removeData(&quot;resizable-alsoresize&quot;)}});e.ui.plugin.add(&quot;resizable&quot;,&quot;animate&quot;,{stop:function(b){var a=e(this).data(&quot;resizable&quot;),c=a.options,d=a._proportionallyResizeElements,f=d.length&amp;&amp;/textarea/i.test(d[0].nodeName),g=f&amp;&amp;e.ui.hasScroll(d[0],&quot;left&quot;)?0:a.sizeDiff.height;f={width:a.size.width-(f?0:a.sizeDiff.width),height:a.size.height-g};g=parseInt(a.element.css(&quot;left&quot;),10)+(a.position.left-
</span></span></pre></div>
<a id="trunkwpincludesjsjqueryuiselectablejs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui.selectable.js (17345 => 17346)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui.selectable.js        2011-01-22 01:31:21 UTC (rev 17345)
+++ trunk/wp-includes/js/jquery/ui.selectable.js        2011-01-22 02:30:03 UTC (rev 17346)
</span><span class="lines">@@ -1,7 +1,7 @@
</span><span class="cx"> /*
</span><del>- * jQuery UI Selectable 1.8.8
</del><ins>+ * jQuery UI Selectable 1.8.9
</ins><span class="cx">  *
</span><del>- * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
</del><ins>+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
</ins><span class="cx">  * Dual licensed under the MIT or GPL Version 2 licenses.
</span><span class="cx">  * http://jquery.org/license
</span><span class="cx">  *
</span><span class="lines">@@ -19,4 +19,4 @@
</span><span class="cx"> this.options,b=this.opos[0],g=this.opos[1],h=c.pageX,i=c.pageY;if(b&gt;h){var j=h;h=b;b=j}if(g&gt;i){j=i;i=g;g=j}this.helper.css({left:b,top:g,width:h-b,height:i-g});this.selectees.each(function(){var a=e.data(this,&quot;selectable-item&quot;);if(!(!a||a.element==f.element[0])){var k=false;if(d.tolerance==&quot;touch&quot;)k=!(a.left&gt;h||a.right&lt;b||a.top&gt;i||a.bottom&lt;g);else if(d.tolerance==&quot;fit&quot;)k=a.left&gt;b&amp;&amp;a.right&lt;h&amp;&amp;a.top&gt;g&amp;&amp;a.bottom&lt;i;if(k){if(a.selected){a.$element.removeClass(&quot;ui-selected&quot;);a.selected=false}if(a.unselecting){a.$element.removeClass(&quot;ui-unselecting&quot;);
</span><span class="cx"> a.unselecting=false}if(!a.selecting){a.$element.addClass(&quot;ui-selecting&quot;);a.selecting=true;f._trigger(&quot;selecting&quot;,c,{selecting:a.element})}}else{if(a.selecting)if(c.metaKey&amp;&amp;a.startselected){a.$element.removeClass(&quot;ui-selecting&quot;);a.selecting=false;a.$element.addClass(&quot;ui-selected&quot;);a.selected=true}else{a.$element.removeClass(&quot;ui-selecting&quot;);a.selecting=false;if(a.startselected){a.$element.addClass(&quot;ui-unselecting&quot;);a.unselecting=true}f._trigger(&quot;unselecting&quot;,c,{unselecting:a.element})}if(a.selected)if(!c.metaKey&amp;&amp;
</span><span class="cx"> !a.startselected){a.$element.removeClass(&quot;ui-selected&quot;);a.selected=false;a.$element.addClass(&quot;ui-unselecting&quot;);a.unselecting=true;f._trigger(&quot;unselecting&quot;,c,{unselecting:a.element})}}}});return false}},_mouseStop:function(c){var f=this;this.dragged=false;e(&quot;.ui-unselecting&quot;,this.element[0]).each(function(){var d=e.data(this,&quot;selectable-item&quot;);d.$element.removeClass(&quot;ui-unselecting&quot;);d.unselecting=false;d.startselected=false;f._trigger(&quot;unselected&quot;,c,{unselected:d.element})});e(&quot;.ui-selecting&quot;,this.element[0]).each(function(){var d=
</span><del>-e.data(this,&quot;selectable-item&quot;);d.$element.removeClass(&quot;ui-selecting&quot;).addClass(&quot;ui-selected&quot;);d.selecting=false;d.selected=true;d.startselected=true;f._trigger(&quot;selected&quot;,c,{selected:d.element})});this._trigger(&quot;stop&quot;,c);this.helper.remove();return false}});e.extend(e.ui.selectable,{version:&quot;1.8.8&quot;})})(jQuery);
</del><ins>+e.data(this,&quot;selectable-item&quot;);d.$element.removeClass(&quot;ui-selecting&quot;).addClass(&quot;ui-selected&quot;);d.selecting=false;d.selected=true;d.startselected=true;f._trigger(&quot;selected&quot;,c,{selected:d.element})});this._trigger(&quot;stop&quot;,c);this.helper.remove();return false}});e.extend(e.ui.selectable,{version:&quot;1.8.9&quot;})})(jQuery);
</ins></span></pre></div>
<a id="trunkwpincludesjsjqueryuisortablejs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui.sortable.js (17345 => 17346)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui.sortable.js        2011-01-22 01:31:21 UTC (rev 17345)
+++ trunk/wp-includes/js/jquery/ui.sortable.js        2011-01-22 02:30:03 UTC (rev 17346)
</span><span class="lines">@@ -1,7 +1,7 @@
</span><span class="cx"> /*
</span><del>- * jQuery UI Sortable 1.8.8
</del><ins>+ * jQuery UI Sortable 1.8.9
</ins><span class="cx">  *
</span><del>- * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
</del><ins>+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
</ins><span class="cx">  * Dual licensed under the MIT or GPL Version 2 licenses.
</span><span class="cx">  * http://jquery.org/license
</span><span class="cx">  *
</span><span class="lines">@@ -24,37 +24,37 @@
</span><span class="cx"> b.scrollSpeed);if(a.pageX-d(document).scrollLeft()&lt;b.scrollSensitivity)c=d(document).scrollLeft(d(document).scrollLeft()-b.scrollSpeed);else if(d(window).width()-(a.pageX-d(document).scrollLeft())&lt;b.scrollSensitivity)c=d(document).scrollLeft(d(document).scrollLeft()+b.scrollSpeed)}c!==false&amp;&amp;d.ui.ddmanager&amp;&amp;!b.dropBehaviour&amp;&amp;d.ui.ddmanager.prepareOffsets(this,a)}this.positionAbs=this._convertPositionTo(&quot;absolute&quot;);if(!this.options.axis||this.options.axis!=&quot;y&quot;)this.helper[0].style.left=this.position.left+
</span><span class="cx"> &quot;px&quot;;if(!this.options.axis||this.options.axis!=&quot;x&quot;)this.helper[0].style.top=this.position.top+&quot;px&quot;;for(b=this.items.length-1;b&gt;=0;b--){c=this.items[b];var e=c.item[0],f=this._intersectsWithPointer(c);if(f)if(e!=this.currentItem[0]&amp;&amp;this.placeholder[f==1?&quot;next&quot;:&quot;prev&quot;]()[0]!=e&amp;&amp;!d.ui.contains(this.placeholder[0],e)&amp;&amp;(this.options.type==&quot;semi-dynamic&quot;?!d.ui.contains(this.element[0],e):true)){this.direction=f==1?&quot;down&quot;:&quot;up&quot;;if(this.options.tolerance==&quot;pointer&quot;||this._intersectsWithSides(c))this._rearrange(a,
</span><span class="cx"> c);else break;this._trigger(&quot;change&quot;,a,this._uiHash());break}}this._contactContainers(a);d.ui.ddmanager&amp;&amp;d.ui.ddmanager.drag(this,a);this._trigger(&quot;sort&quot;,a,this._uiHash());this.lastPositionAbs=this.positionAbs;return false},_mouseStop:function(a,b){if(a){d.ui.ddmanager&amp;&amp;!this.options.dropBehaviour&amp;&amp;d.ui.ddmanager.drop(this,a);if(this.options.revert){var c=this;b=c.placeholder.offset();c.reverting=true;d(this.helper).animate({left:b.left-this.offset.parent.left-c.margins.left+(this.offsetParent[0]==
</span><del>-document.body?0:this.offsetParent[0].scrollLeft),top:b.top-this.offset.parent.top-c.margins.top+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollTop)},parseInt(this.options.revert,10)||500,function(){c._clear(a)})}else this._clear(a,b);return false}},cancel:function(){var a=this;if(this.dragging){this._mouseUp();this.options.helper==&quot;original&quot;?this.currentItem.css(this._storedCSS).removeClass(&quot;ui-sortable-helper&quot;):this.currentItem.show();for(var b=this.containers.length-1;b&gt;=0;b--){this.containers[b]._trigger(&quot;deactivate&quot;,
-null,a._uiHash(this));if(this.containers[b].containerCache.over){this.containers[b]._trigger(&quot;out&quot;,null,a._uiHash(this));this.containers[b].containerCache.over=0}}}this.placeholder[0].parentNode&amp;&amp;this.placeholder[0].parentNode.removeChild(this.placeholder[0]);this.options.helper!=&quot;original&quot;&amp;&amp;this.helper&amp;&amp;this.helper[0].parentNode&amp;&amp;this.helper.remove();d.extend(this,{helper:null,dragging:false,reverting:false,_noFinalSort:null});this.domPosition.prev?d(this.domPosition.prev).after(this.currentItem):
-d(this.domPosition.parent).prepend(this.currentItem);return this},serialize:function(a){var b=this._getItemsAsjQuery(a&amp;&amp;a.connected),c=[];a=a||{};d(b).each(function(){var e=(d(a.item||this).attr(a.attribute||&quot;id&quot;)||&quot;&quot;).match(a.expression||/(.+)[-=_](.+)/);if(e)c.push((a.key||e[1]+&quot;[]&quot;)+&quot;=&quot;+(a.key&amp;&amp;a.expression?e[1]:e[2]))});!c.length&amp;&amp;a.key&amp;&amp;c.push(a.key+&quot;=&quot;);return c.join(&quot;&amp;&quot;)},toArray:function(a){var b=this._getItemsAsjQuery(a&amp;&amp;a.connected),c=[];a=a||{};b.each(function(){c.push(d(a.item||this).attr(a.attribute||
-&quot;id&quot;)||&quot;&quot;)});return c},_intersectsWith:function(a){var b=this.positionAbs.left,c=b+this.helperProportions.width,e=this.positionAbs.top,f=e+this.helperProportions.height,g=a.left,h=g+a.width,i=a.top,k=i+a.height,j=this.offset.click.top,l=this.offset.click.left;j=e+j&gt;i&amp;&amp;e+j&lt;k&amp;&amp;b+l&gt;g&amp;&amp;b+l&lt;h;return this.options.tolerance==&quot;pointer&quot;||this.options.forcePointerForContainers||this.options.tolerance!=&quot;pointer&quot;&amp;&amp;this.helperProportions[this.floating?&quot;width&quot;:&quot;height&quot;]&gt;a[this.floating?&quot;width&quot;:&quot;height&quot;]?j:g&lt;b+
-this.helperProportions.width/2&amp;&amp;c-this.helperProportions.width/2&lt;h&amp;&amp;i&lt;e+this.helperProportions.height/2&amp;&amp;f-this.helperProportions.height/2&lt;k},_intersectsWithPointer:function(a){var b=d.ui.isOverAxis(this.positionAbs.top+this.offset.click.top,a.top,a.height);a=d.ui.isOverAxis(this.positionAbs.left+this.offset.click.left,a.left,a.width);b=b&amp;&amp;a;a=this._getDragVerticalDirection();var c=this._getDragHorizontalDirection();if(!b)return false;return this.floating?c&amp;&amp;c==&quot;right&quot;||a==&quot;down&quot;?2:1:a&amp;&amp;(a==&quot;down&quot;?
-2:1)},_intersectsWithSides:function(a){var b=d.ui.isOverAxis(this.positionAbs.top+this.offset.click.top,a.top+a.height/2,a.height);a=d.ui.isOverAxis(this.positionAbs.left+this.offset.click.left,a.left+a.width/2,a.width);var c=this._getDragVerticalDirection(),e=this._getDragHorizontalDirection();return this.floating&amp;&amp;e?e==&quot;right&quot;&amp;&amp;a||e==&quot;left&quot;&amp;&amp;!a:c&amp;&amp;(c==&quot;down&quot;&amp;&amp;b||c==&quot;up&quot;&amp;&amp;!b)},_getDragVerticalDirection:function(){var a=this.positionAbs.top-this.lastPositionAbs.top;return a!=0&amp;&amp;(a&gt;0?&quot;down&quot;:&quot;up&quot;)},
-_getDragHorizontalDirection:function(){var a=this.positionAbs.left-this.lastPositionAbs.left;return a!=0&amp;&amp;(a&gt;0?&quot;right&quot;:&quot;left&quot;)},refresh:function(a){this._refreshItems(a);this.refreshPositions();return this},_connectWith:function(){var a=this.options;return a.connectWith.constructor==String?[a.connectWith]:a.connectWith},_getItemsAsjQuery:function(a){var b=[],c=[],e=this._connectWith();if(e&amp;&amp;a)for(a=e.length-1;a&gt;=0;a--)for(var f=d(e[a]),g=f.length-1;g&gt;=0;g--){var h=d.data(f[g],&quot;sortable&quot;);if(h&amp;&amp;h!=
-this&amp;&amp;!h.options.disabled)c.push([d.isFunction(h.options.items)?h.options.items.call(h.element):d(h.options.items,h.element).not(&quot;.ui-sortable-helper&quot;).not(&quot;.ui-sortable-placeholder&quot;),h])}c.push([d.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):d(this.options.items,this.element).not(&quot;.ui-sortable-helper&quot;).not(&quot;.ui-sortable-placeholder&quot;),this]);for(a=c.length-1;a&gt;=0;a--)c[a][0].each(function(){b.push(this)});return d(b)},_removeCurrentsFromItems:function(){for(var a=
-this.currentItem.find(&quot;:data(sortable-item)&quot;),b=0;b&lt;this.items.length;b++)for(var c=0;c&lt;a.length;c++)a[c]==this.items[b].item[0]&amp;&amp;this.items.splice(b,1)},_refreshItems:function(a){this.items=[];this.containers=[this];var b=this.items,c=[[d.isFunction(this.options.items)?this.options.items.call(this.element[0],a,{item:this.currentItem}):d(this.options.items,this.element),this]],e=this._connectWith();if(e)for(var f=e.length-1;f&gt;=0;f--)for(var g=d(e[f]),h=g.length-1;h&gt;=0;h--){var i=d.data(g[h],&quot;sortable&quot;);
-if(i&amp;&amp;i!=this&amp;&amp;!i.options.disabled){c.push([d.isFunction(i.options.items)?i.options.items.call(i.element[0],a,{item:this.currentItem}):d(i.options.items,i.element),i]);this.containers.push(i)}}for(f=c.length-1;f&gt;=0;f--){a=c[f][1];e=c[f][0];h=0;for(g=e.length;h&lt;g;h++){i=d(e[h]);i.data(&quot;sortable-item&quot;,a);b.push({item:i,instance:a,width:0,height:0,left:0,top:0})}}},refreshPositions:function(a){if(this.offsetParent&amp;&amp;this.helper)this.offset.parent=this._getParentOffset();for(var b=this.items.length-1;b&gt;=
-0;b--){var c=this.items[b],e=this.options.toleranceElement?d(this.options.toleranceElement,c.item):c.item;if(!a){c.width=e.outerWidth();c.height=e.outerHeight()}e=e.offset();c.left=e.left;c.top=e.top}if(this.options.custom&amp;&amp;this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(b=this.containers.length-1;b&gt;=0;b--){e=this.containers[b].element.offset();this.containers[b].containerCache.left=e.left;this.containers[b].containerCache.top=e.top;this.containers[b].containerCache.width=
-this.containers[b].element.outerWidth();this.containers[b].containerCache.height=this.containers[b].element.outerHeight()}return this},_createPlaceholder:function(a){var b=a||this,c=b.options;if(!c.placeholder||c.placeholder.constructor==String){var e=c.placeholder;c.placeholder={element:function(){var f=d(document.createElement(b.currentItem[0].nodeName)).addClass(e||b.currentItem[0].className+&quot; ui-sortable-placeholder&quot;).removeClass(&quot;ui-sortable-helper&quot;)[0];if(!e)f.style.visibility=&quot;hidden&quot;;return f},
-update:function(f,g){if(!(e&amp;&amp;!c.forcePlaceholderSize)){g.height()||g.height(b.currentItem.innerHeight()-parseInt(b.currentItem.css(&quot;paddingTop&quot;)||0,10)-parseInt(b.currentItem.css(&quot;paddingBottom&quot;)||0,10));g.width()||g.width(b.currentItem.innerWidth()-parseInt(b.currentItem.css(&quot;paddingLeft&quot;)||0,10)-parseInt(b.currentItem.css(&quot;paddingRight&quot;)||0,10))}}}}b.placeholder=d(c.placeholder.element.call(b.element,b.currentItem));b.currentItem.after(b.placeholder);c.placeholder.update(b,b.placeholder)},_contactContainers:function(a){for(var b=
-null,c=null,e=this.containers.length-1;e&gt;=0;e--)if(!d.ui.contains(this.currentItem[0],this.containers[e].element[0]))if(this._intersectsWith(this.containers[e].containerCache)){if(!(b&amp;&amp;d.ui.contains(this.containers[e].element[0],b.element[0]))){b=this.containers[e];c=e}}else if(this.containers[e].containerCache.over){this.containers[e]._trigger(&quot;out&quot;,a,this._uiHash(this));this.containers[e].containerCache.over=0}if(b)if(this.containers.length===1){this.containers[c]._trigger(&quot;over&quot;,a,this._uiHash(this));
-this.containers[c].containerCache.over=1}else if(this.currentContainer!=this.containers[c]){b=1E4;e=null;for(var f=this.positionAbs[this.containers[c].floating?&quot;left&quot;:&quot;top&quot;],g=this.items.length-1;g&gt;=0;g--)if(d.ui.contains(this.containers[c].element[0],this.items[g].item[0])){var h=this.items[g][this.containers[c].floating?&quot;left&quot;:&quot;top&quot;];if(Math.abs(h-f)&lt;b){b=Math.abs(h-f);e=this.items[g]}}if(e||this.options.dropOnEmpty){this.currentContainer=this.containers[c];e?this._rearrange(a,e,null,true):this._rearrange(a,
-null,this.containers[c].element,true);this._trigger(&quot;change&quot;,a,this._uiHash());this.containers[c]._trigger(&quot;change&quot;,a,this._uiHash(this));this.options.placeholder.update(this.currentContainer,this.placeholder);this.containers[c]._trigger(&quot;over&quot;,a,this._uiHash(this));this.containers[c].containerCache.over=1}}},_createHelper:function(a){var b=this.options;a=d.isFunction(b.helper)?d(b.helper.apply(this.element[0],[a,this.currentItem])):b.helper==&quot;clone&quot;?this.currentItem.clone():this.currentItem;a.parents(&quot;body&quot;).length||
-d(b.appendTo!=&quot;parent&quot;?b.appendTo:this.currentItem[0].parentNode)[0].appendChild(a[0]);if(a[0]==this.currentItem[0])this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css(&quot;position&quot;),top:this.currentItem.css(&quot;top&quot;),left:this.currentItem.css(&quot;left&quot;)};if(a[0].style.width==&quot;&quot;||b.forceHelperSize)a.width(this.currentItem.width());if(a[0].style.height==&quot;&quot;||b.forceHelperSize)a.height(this.currentItem.height());return a},_adjustOffsetFromHelper:function(a){if(typeof a==
-&quot;string&quot;)a=a.split(&quot; &quot;);if(d.isArray(a))a={left:+a[0],top:+a[1]||0};if(&quot;left&quot;in a)this.offset.click.left=a.left+this.margins.left;if(&quot;right&quot;in a)this.offset.click.left=this.helperProportions.width-a.right+this.margins.left;if(&quot;top&quot;in a)this.offset.click.top=a.top+this.margins.top;if(&quot;bottom&quot;in a)this.offset.click.top=this.helperProportions.height-a.bottom+this.margins.top},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var a=this.offsetParent.offset();if(this.cssPosition==
-&quot;absolute&quot;&amp;&amp;this.scrollParent[0]!=document&amp;&amp;d.ui.contains(this.scrollParent[0],this.offsetParent[0])){a.left+=this.scrollParent.scrollLeft();a.top+=this.scrollParent.scrollTop()}if(this.offsetParent[0]==document.body||this.offsetParent[0].tagName&amp;&amp;this.offsetParent[0].tagName.toLowerCase()==&quot;html&quot;&amp;&amp;d.browser.msie)a={top:0,left:0};return{top:a.top+(parseInt(this.offsetParent.css(&quot;borderTopWidth&quot;),10)||0),left:a.left+(parseInt(this.offsetParent.css(&quot;borderLeftWidth&quot;),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition==
-&quot;relative&quot;){var a=this.currentItem.position();return{top:a.top-(parseInt(this.helper.css(&quot;top&quot;),10)||0)+this.scrollParent.scrollTop(),left:a.left-(parseInt(this.helper.css(&quot;left&quot;),10)||0)+this.scrollParent.scrollLeft()}}else return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css(&quot;marginLeft&quot;),10)||0,top:parseInt(this.currentItem.css(&quot;marginTop&quot;),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},
-_setContainment:function(){var a=this.options;if(a.containment==&quot;parent&quot;)a.containment=this.helper[0].parentNode;if(a.containment==&quot;document&quot;||a.containment==&quot;window&quot;)this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,d(a.containment==&quot;document&quot;?document:window).width()-this.helperProportions.width-this.margins.left,(d(a.containment==&quot;document&quot;?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-
-this.margins.top];if(!/^(document|window|parent)$/.test(a.containment)){var b=d(a.containment)[0];a=d(a.containment).offset();var c=d(b).css(&quot;overflow&quot;)!=&quot;hidden&quot;;this.containment=[a.left+(parseInt(d(b).css(&quot;borderLeftWidth&quot;),10)||0)+(parseInt(d(b).css(&quot;paddingLeft&quot;),10)||0)-this.margins.left,a.top+(parseInt(d(b).css(&quot;borderTopWidth&quot;),10)||0)+(parseInt(d(b).css(&quot;paddingTop&quot;),10)||0)-this.margins.top,a.left+(c?Math.max(b.scrollWidth,b.offsetWidth):b.offsetWidth)-(parseInt(d(b).css(&quot;borderLeftWidth&quot;),
-10)||0)-(parseInt(d(b).css(&quot;paddingRight&quot;),10)||0)-this.helperProportions.width-this.margins.left,a.top+(c?Math.max(b.scrollHeight,b.offsetHeight):b.offsetHeight)-(parseInt(d(b).css(&quot;borderTopWidth&quot;),10)||0)-(parseInt(d(b).css(&quot;paddingBottom&quot;),10)||0)-this.helperProportions.height-this.margins.top]}},_convertPositionTo:function(a,b){if(!b)b=this.position;a=a==&quot;absolute&quot;?1:-1;var c=this.cssPosition==&quot;absolute&quot;&amp;&amp;!(this.scrollParent[0]!=document&amp;&amp;d.ui.contains(this.scrollParent[0],this.offsetParent[0]))?
-this.offsetParent:this.scrollParent,e=/(html|body)/i.test(c[0].tagName);return{top:b.top+this.offset.relative.top*a+this.offset.parent.top*a-(d.browser.safari&amp;&amp;this.cssPosition==&quot;fixed&quot;?0:(this.cssPosition==&quot;fixed&quot;?-this.scrollParent.scrollTop():e?0:c.scrollTop())*a),left:b.left+this.offset.relative.left*a+this.offset.parent.left*a-(d.browser.safari&amp;&amp;this.cssPosition==&quot;fixed&quot;?0:(this.cssPosition==&quot;fixed&quot;?-this.scrollParent.scrollLeft():e?0:c.scrollLeft())*a)}},_generatePosition:function(a){var b=
-this.options,c=this.cssPosition==&quot;absolute&quot;&amp;&amp;!(this.scrollParent[0]!=document&amp;&amp;d.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,e=/(html|body)/i.test(c[0].tagName);if(this.cssPosition==&quot;relative&quot;&amp;&amp;!(this.scrollParent[0]!=document&amp;&amp;this.scrollParent[0]!=this.offsetParent[0]))this.offset.relative=this._getRelativeOffset();var f=a.pageX,g=a.pageY;if(this.originalPosition){if(this.containment){if(a.pageX-this.offset.click.left&lt;this.containment[0])f=this.containment[0]+
-this.offset.click.left;if(a.pageY-this.offset.click.top&lt;this.containment[1])g=this.containment[1]+this.offset.click.top;if(a.pageX-this.offset.click.left&gt;this.containment[2])f=this.containment[2]+this.offset.click.left;if(a.pageY-this.offset.click.top&gt;this.containment[3])g=this.containment[3]+this.offset.click.top}if(b.grid){g=this.originalPageY+Math.round((g-this.originalPageY)/b.grid[1])*b.grid[1];g=this.containment?!(g-this.offset.click.top&lt;this.containment[1]||g-this.offset.click.top&gt;this.containment[3])?
-g:!(g-this.offset.click.top&lt;this.containment[1])?g-b.grid[1]:g+b.grid[1]:g;f=this.originalPageX+Math.round((f-this.originalPageX)/b.grid[0])*b.grid[0];f=this.containment?!(f-this.offset.click.left&lt;this.containment[0]||f-this.offset.click.left&gt;this.containment[2])?f:!(f-this.offset.click.left&lt;this.containment[0])?f-b.grid[0]:f+b.grid[0]:f}}return{top:g-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(d.browser.safari&amp;&amp;this.cssPosition==&quot;fixed&quot;?0:this.cssPosition==&quot;fixed&quot;?-this.scrollParent.scrollTop():
-e?0:c.scrollTop()),left:f-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(d.browser.safari&amp;&amp;this.cssPosition==&quot;fixed&quot;?0:this.cssPosition==&quot;fixed&quot;?-this.scrollParent.scrollLeft():e?0:c.scrollLeft())}},_rearrange:function(a,b,c,e){c?c[0].appendChild(this.placeholder[0]):b.item[0].parentNode.insertBefore(this.placeholder[0],this.direction==&quot;down&quot;?b.item[0]:b.item[0].nextSibling);this.counter=this.counter?++this.counter:1;var f=this,g=this.counter;window.setTimeout(function(){g==
-f.counter&amp;&amp;f.refreshPositions(!e)},0)},_clear:function(a,b){this.reverting=false;var c=[];!this._noFinalSort&amp;&amp;this.currentItem[0].parentNode&amp;&amp;this.placeholder.before(this.currentItem);this._noFinalSort=null;if(this.helper[0]==this.currentItem[0]){for(var e in this._storedCSS)if(this._storedCSS[e]==&quot;auto&quot;||this._storedCSS[e]==&quot;static&quot;)this._storedCSS[e]=&quot;&quot;;this.currentItem.css(this._storedCSS).removeClass(&quot;ui-sortable-helper&quot;)}else this.currentItem.show();this.fromOutside&amp;&amp;!b&amp;&amp;c.push(function(f){this._trigger(&quot;receive&quot;,
-f,this._uiHash(this.fromOutside))});if((this.fromOutside||this.domPosition.prev!=this.currentItem.prev().not(&quot;.ui-sortable-helper&quot;)[0]||this.domPosition.parent!=this.currentItem.parent()[0])&amp;&amp;!b)c.push(function(f){this._trigger(&quot;update&quot;,f,this._uiHash())});if(!d.ui.contains(this.element[0],this.currentItem[0])){b||c.push(function(f){this._trigger(&quot;remove&quot;,f,this._uiHash())});for(e=this.containers.length-1;e&gt;=0;e--)if(d.ui.contains(this.containers[e].element[0],this.currentItem[0])&amp;&amp;!b){c.push(function(f){return function(g){f._trigger(&quot;receive&quot;,
-g,this._uiHash(this))}}.call(this,this.containers[e]));c.push(function(f){return function(g){f._trigger(&quot;update&quot;,g,this._uiHash(this))}}.call(this,this.containers[e]))}}for(e=this.containers.length-1;e&gt;=0;e--){b||c.push(function(f){return function(g){f._trigger(&quot;deactivate&quot;,g,this._uiHash(this))}}.call(this,this.containers[e]));if(this.containers[e].containerCache.over){c.push(function(f){return function(g){f._trigger(&quot;out&quot;,g,this._uiHash(this))}}.call(this,this.containers[e]));this.containers[e].containerCache.over=
-0}}this._storedCursor&amp;&amp;d(&quot;body&quot;).css(&quot;cursor&quot;,this._storedCursor);this._storedOpacity&amp;&amp;this.helper.css(&quot;opacity&quot;,this._storedOpacity);if(this._storedZIndex)this.helper.css(&quot;zIndex&quot;,this._storedZIndex==&quot;auto&quot;?&quot;&quot;:this._storedZIndex);this.dragging=false;if(this.cancelHelperRemoval){if(!b){this._trigger(&quot;beforeStop&quot;,a,this._uiHash());for(e=0;e&lt;c.length;e++)c[e].call(this,a);this._trigger(&quot;stop&quot;,a,this._uiHash())}return false}b||this._trigger(&quot;beforeStop&quot;,a,this._uiHash());this.placeholder[0].parentNode.removeChild(this.placeholder[0]);
-this.helper[0]!=this.currentItem[0]&amp;&amp;this.helper.remove();this.helper=null;if(!b){for(e=0;e&lt;c.length;e++)c[e].call(this,a);this._trigger(&quot;stop&quot;,a,this._uiHash())}this.fromOutside=false;return true},_trigger:function(){d.Widget.prototype._trigger.apply(this,arguments)===false&amp;&amp;this.cancel()},_uiHash:function(a){var b=a||this;return{helper:b.helper,placeholder:b.placeholder||d([]),position:b.position,originalPosition:b.originalPosition,offset:b.positionAbs,item:b.currentItem,sender:a?a.element:null}}});
-d.extend(d.ui.sortable,{version:&quot;1.8.8&quot;})})(jQuery);
</del><ins>+document.body?0:this.offsetParent[0].scrollLeft),top:b.top-this.offset.parent.top-c.margins.top+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollTop)},parseInt(this.options.revert,10)||500,function(){c._clear(a)})}else this._clear(a,b);return false}},cancel:function(){var a=this;if(this.dragging){this._mouseUp({target:null});this.options.helper==&quot;original&quot;?this.currentItem.css(this._storedCSS).removeClass(&quot;ui-sortable-helper&quot;):this.currentItem.show();for(var b=this.containers.length-
+1;b&gt;=0;b--){this.containers[b]._trigger(&quot;deactivate&quot;,null,a._uiHash(this));if(this.containers[b].containerCache.over){this.containers[b]._trigger(&quot;out&quot;,null,a._uiHash(this));this.containers[b].containerCache.over=0}}}if(this.placeholder){this.placeholder[0].parentNode&amp;&amp;this.placeholder[0].parentNode.removeChild(this.placeholder[0]);this.options.helper!=&quot;original&quot;&amp;&amp;this.helper&amp;&amp;this.helper[0].parentNode&amp;&amp;this.helper.remove();d.extend(this,{helper:null,dragging:false,reverting:false,_noFinalSort:null});
+this.domPosition.prev?d(this.domPosition.prev).after(this.currentItem):d(this.domPosition.parent).prepend(this.currentItem)}return this},serialize:function(a){var b=this._getItemsAsjQuery(a&amp;&amp;a.connected),c=[];a=a||{};d(b).each(function(){var e=(d(a.item||this).attr(a.attribute||&quot;id&quot;)||&quot;&quot;).match(a.expression||/(.+)[-=_](.+)/);if(e)c.push((a.key||e[1]+&quot;[]&quot;)+&quot;=&quot;+(a.key&amp;&amp;a.expression?e[1]:e[2]))});!c.length&amp;&amp;a.key&amp;&amp;c.push(a.key+&quot;=&quot;);return c.join(&quot;&amp;&quot;)},toArray:function(a){var b=this._getItemsAsjQuery(a&amp;&amp;
+a.connected),c=[];a=a||{};b.each(function(){c.push(d(a.item||this).attr(a.attribute||&quot;id&quot;)||&quot;&quot;)});return c},_intersectsWith:function(a){var b=this.positionAbs.left,c=b+this.helperProportions.width,e=this.positionAbs.top,f=e+this.helperProportions.height,g=a.left,h=g+a.width,i=a.top,k=i+a.height,j=this.offset.click.top,l=this.offset.click.left;j=e+j&gt;i&amp;&amp;e+j&lt;k&amp;&amp;b+l&gt;g&amp;&amp;b+l&lt;h;return this.options.tolerance==&quot;pointer&quot;||this.options.forcePointerForContainers||this.options.tolerance!=&quot;pointer&quot;&amp;&amp;this.helperProportions[this.floating?
+&quot;width&quot;:&quot;height&quot;]&gt;a[this.floating?&quot;width&quot;:&quot;height&quot;]?j:g&lt;b+this.helperProportions.width/2&amp;&amp;c-this.helperProportions.width/2&lt;h&amp;&amp;i&lt;e+this.helperProportions.height/2&amp;&amp;f-this.helperProportions.height/2&lt;k},_intersectsWithPointer:function(a){var b=d.ui.isOverAxis(this.positionAbs.top+this.offset.click.top,a.top,a.height);a=d.ui.isOverAxis(this.positionAbs.left+this.offset.click.left,a.left,a.width);b=b&amp;&amp;a;a=this._getDragVerticalDirection();var c=this._getDragHorizontalDirection();if(!b)return false;return this.floating?
+c&amp;&amp;c==&quot;right&quot;||a==&quot;down&quot;?2:1:a&amp;&amp;(a==&quot;down&quot;?2:1)},_intersectsWithSides:function(a){var b=d.ui.isOverAxis(this.positionAbs.top+this.offset.click.top,a.top+a.height/2,a.height);a=d.ui.isOverAxis(this.positionAbs.left+this.offset.click.left,a.left+a.width/2,a.width);var c=this._getDragVerticalDirection(),e=this._getDragHorizontalDirection();return this.floating&amp;&amp;e?e==&quot;right&quot;&amp;&amp;a||e==&quot;left&quot;&amp;&amp;!a:c&amp;&amp;(c==&quot;down&quot;&amp;&amp;b||c==&quot;up&quot;&amp;&amp;!b)},_getDragVerticalDirection:function(){var a=this.positionAbs.top-this.lastPositionAbs.top;
+return a!=0&amp;&amp;(a&gt;0?&quot;down&quot;:&quot;up&quot;)},_getDragHorizontalDirection:function(){var a=this.positionAbs.left-this.lastPositionAbs.left;return a!=0&amp;&amp;(a&gt;0?&quot;right&quot;:&quot;left&quot;)},refresh:function(a){this._refreshItems(a);this.refreshPositions();return this},_connectWith:function(){var a=this.options;return a.connectWith.constructor==String?[a.connectWith]:a.connectWith},_getItemsAsjQuery:function(a){var b=[],c=[],e=this._connectWith();if(e&amp;&amp;a)for(a=e.length-1;a&gt;=0;a--)for(var f=d(e[a]),g=f.length-1;g&gt;=0;g--){var h=
+d.data(f[g],&quot;sortable&quot;);if(h&amp;&amp;h!=this&amp;&amp;!h.options.disabled)c.push([d.isFunction(h.options.items)?h.options.items.call(h.element):d(h.options.items,h.element).not(&quot;.ui-sortable-helper&quot;).not(&quot;.ui-sortable-placeholder&quot;),h])}c.push([d.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):d(this.options.items,this.element).not(&quot;.ui-sortable-helper&quot;).not(&quot;.ui-sortable-placeholder&quot;),this]);for(a=c.length-1;a&gt;=0;a--)c[a][0].each(function(){b.push(this)});
+return d(b)},_removeCurrentsFromItems:function(){for(var a=this.currentItem.find(&quot;:data(sortable-item)&quot;),b=0;b&lt;this.items.length;b++)for(var c=0;c&lt;a.length;c++)a[c]==this.items[b].item[0]&amp;&amp;this.items.splice(b,1)},_refreshItems:function(a){this.items=[];this.containers=[this];var b=this.items,c=[[d.isFunction(this.options.items)?this.options.items.call(this.element[0],a,{item:this.currentItem}):d(this.options.items,this.element),this]],e=this._connectWith();if(e)for(var f=e.length-1;f&gt;=0;f--)for(var g=
+d(e[f]),h=g.length-1;h&gt;=0;h--){var i=d.data(g[h],&quot;sortable&quot;);if(i&amp;&amp;i!=this&amp;&amp;!i.options.disabled){c.push([d.isFunction(i.options.items)?i.options.items.call(i.element[0],a,{item:this.currentItem}):d(i.options.items,i.element),i]);this.containers.push(i)}}for(f=c.length-1;f&gt;=0;f--){a=c[f][1];e=c[f][0];h=0;for(g=e.length;h&lt;g;h++){i=d(e[h]);i.data(&quot;sortable-item&quot;,a);b.push({item:i,instance:a,width:0,height:0,left:0,top:0})}}},refreshPositions:function(a){if(this.offsetParent&amp;&amp;this.helper)this.offset.parent=
+this._getParentOffset();for(var b=this.items.length-1;b&gt;=0;b--){var c=this.items[b],e=this.options.toleranceElement?d(this.options.toleranceElement,c.item):c.item;if(!a){c.width=e.outerWidth();c.height=e.outerHeight()}e=e.offset();c.left=e.left;c.top=e.top}if(this.options.custom&amp;&amp;this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(b=this.containers.length-1;b&gt;=0;b--){e=this.containers[b].element.offset();this.containers[b].containerCache.left=e.left;this.containers[b].containerCache.top=
+e.top;this.containers[b].containerCache.width=this.containers[b].element.outerWidth();this.containers[b].containerCache.height=this.containers[b].element.outerHeight()}return this},_createPlaceholder:function(a){var b=a||this,c=b.options;if(!c.placeholder||c.placeholder.constructor==String){var e=c.placeholder;c.placeholder={element:function(){var f=d(document.createElement(b.currentItem[0].nodeName)).addClass(e||b.currentItem[0].className+&quot; ui-sortable-placeholder&quot;).removeClass(&quot;ui-sortable-helper&quot;)[0];
+if(!e)f.style.visibility=&quot;hidden&quot;;return f},update:function(f,g){if(!(e&amp;&amp;!c.forcePlaceholderSize)){g.height()||g.height(b.currentItem.innerHeight()-parseInt(b.currentItem.css(&quot;paddingTop&quot;)||0,10)-parseInt(b.currentItem.css(&quot;paddingBottom&quot;)||0,10));g.width()||g.width(b.currentItem.innerWidth()-parseInt(b.currentItem.css(&quot;paddingLeft&quot;)||0,10)-parseInt(b.currentItem.css(&quot;paddingRight&quot;)||0,10))}}}}b.placeholder=d(c.placeholder.element.call(b.element,b.currentItem));b.currentItem.after(b.placeholder);
+c.placeholder.update(b,b.placeholder)},_contactContainers:function(a){for(var b=null,c=null,e=this.containers.length-1;e&gt;=0;e--)if(!d.ui.contains(this.currentItem[0],this.containers[e].element[0]))if(this._intersectsWith(this.containers[e].containerCache)){if(!(b&amp;&amp;d.ui.contains(this.containers[e].element[0],b.element[0]))){b=this.containers[e];c=e}}else if(this.containers[e].containerCache.over){this.containers[e]._trigger(&quot;out&quot;,a,this._uiHash(this));this.containers[e].containerCache.over=0}if(b)if(this.containers.length===
+1){this.containers[c]._trigger(&quot;over&quot;,a,this._uiHash(this));this.containers[c].containerCache.over=1}else if(this.currentContainer!=this.containers[c]){b=1E4;e=null;for(var f=this.positionAbs[this.containers[c].floating?&quot;left&quot;:&quot;top&quot;],g=this.items.length-1;g&gt;=0;g--)if(d.ui.contains(this.containers[c].element[0],this.items[g].item[0])){var h=this.items[g][this.containers[c].floating?&quot;left&quot;:&quot;top&quot;];if(Math.abs(h-f)&lt;b){b=Math.abs(h-f);e=this.items[g]}}if(e||this.options.dropOnEmpty){this.currentContainer=
+this.containers[c];e?this._rearrange(a,e,null,true):this._rearrange(a,null,this.containers[c].element,true);this._trigger(&quot;change&quot;,a,this._uiHash());this.containers[c]._trigger(&quot;change&quot;,a,this._uiHash(this));this.options.placeholder.update(this.currentContainer,this.placeholder);this.containers[c]._trigger(&quot;over&quot;,a,this._uiHash(this));this.containers[c].containerCache.over=1}}},_createHelper:function(a){var b=this.options;a=d.isFunction(b.helper)?d(b.helper.apply(this.element[0],[a,this.currentItem])):
+b.helper==&quot;clone&quot;?this.currentItem.clone():this.currentItem;a.parents(&quot;body&quot;).length||d(b.appendTo!=&quot;parent&quot;?b.appendTo:this.currentItem[0].parentNode)[0].appendChild(a[0]);if(a[0]==this.currentItem[0])this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css(&quot;position&quot;),top:this.currentItem.css(&quot;top&quot;),left:this.currentItem.css(&quot;left&quot;)};if(a[0].style.width==&quot;&quot;||b.forceHelperSize)a.width(this.currentItem.width());if(a[0].style.height==
+&quot;&quot;||b.forceHelperSize)a.height(this.currentItem.height());return a},_adjustOffsetFromHelper:function(a){if(typeof a==&quot;string&quot;)a=a.split(&quot; &quot;);if(d.isArray(a))a={left:+a[0],top:+a[1]||0};if(&quot;left&quot;in a)this.offset.click.left=a.left+this.margins.left;if(&quot;right&quot;in a)this.offset.click.left=this.helperProportions.width-a.right+this.margins.left;if(&quot;top&quot;in a)this.offset.click.top=a.top+this.margins.top;if(&quot;bottom&quot;in a)this.offset.click.top=this.helperProportions.height-a.bottom+this.margins.top},_getParentOffset:function(){this.offsetParent=
+this.helper.offsetParent();var a=this.offsetParent.offset();if(this.cssPosition==&quot;absolute&quot;&amp;&amp;this.scrollParent[0]!=document&amp;&amp;d.ui.contains(this.scrollParent[0],this.offsetParent[0])){a.left+=this.scrollParent.scrollLeft();a.top+=this.scrollParent.scrollTop()}if(this.offsetParent[0]==document.body||this.offsetParent[0].tagName&amp;&amp;this.offsetParent[0].tagName.toLowerCase()==&quot;html&quot;&amp;&amp;d.browser.msie)a={top:0,left:0};return{top:a.top+(parseInt(this.offsetParent.css(&quot;borderTopWidth&quot;),10)||0),left:a.left+(parseInt(this.offsetParent.css(&quot;borderLeftWidth&quot;),
+10)||0)}},_getRelativeOffset:function(){if(this.cssPosition==&quot;relative&quot;){var a=this.currentItem.position();return{top:a.top-(parseInt(this.helper.css(&quot;top&quot;),10)||0)+this.scrollParent.scrollTop(),left:a.left-(parseInt(this.helper.css(&quot;left&quot;),10)||0)+this.scrollParent.scrollLeft()}}else return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css(&quot;marginLeft&quot;),10)||0,top:parseInt(this.currentItem.css(&quot;marginTop&quot;),10)||0}},_cacheHelperProportions:function(){this.helperProportions=
+{width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var a=this.options;if(a.containment==&quot;parent&quot;)a.containment=this.helper[0].parentNode;if(a.containment==&quot;document&quot;||a.containment==&quot;window&quot;)this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,d(a.containment==&quot;document&quot;?document:window).width()-this.helperProportions.width-this.margins.left,(d(a.containment==&quot;document&quot;?document:window).height()||
+document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];if(!/^(document|window|parent)$/.test(a.containment)){var b=d(a.containment)[0];a=d(a.containment).offset();var c=d(b).css(&quot;overflow&quot;)!=&quot;hidden&quot;;this.containment=[a.left+(parseInt(d(b).css(&quot;borderLeftWidth&quot;),10)||0)+(parseInt(d(b).css(&quot;paddingLeft&quot;),10)||0)-this.margins.left,a.top+(parseInt(d(b).css(&quot;borderTopWidth&quot;),10)||0)+(parseInt(d(b).css(&quot;paddingTop&quot;),10)||0)-this.margins.top,a.left+(c?Math.max(b.scrollWidth,
+b.offsetWidth):b.offsetWidth)-(parseInt(d(b).css(&quot;borderLeftWidth&quot;),10)||0)-(parseInt(d(b).css(&quot;paddingRight&quot;),10)||0)-this.helperProportions.width-this.margins.left,a.top+(c?Math.max(b.scrollHeight,b.offsetHeight):b.offsetHeight)-(parseInt(d(b).css(&quot;borderTopWidth&quot;),10)||0)-(parseInt(d(b).css(&quot;paddingBottom&quot;),10)||0)-this.helperProportions.height-this.margins.top]}},_convertPositionTo:function(a,b){if(!b)b=this.position;a=a==&quot;absolute&quot;?1:-1;var c=this.cssPosition==&quot;absolute&quot;&amp;&amp;!(this.scrollParent[0]!=
+document&amp;&amp;d.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,e=/(html|body)/i.test(c[0].tagName);return{top:b.top+this.offset.relative.top*a+this.offset.parent.top*a-(d.browser.safari&amp;&amp;this.cssPosition==&quot;fixed&quot;?0:(this.cssPosition==&quot;fixed&quot;?-this.scrollParent.scrollTop():e?0:c.scrollTop())*a),left:b.left+this.offset.relative.left*a+this.offset.parent.left*a-(d.browser.safari&amp;&amp;this.cssPosition==&quot;fixed&quot;?0:(this.cssPosition==&quot;fixed&quot;?-this.scrollParent.scrollLeft():
+e?0:c.scrollLeft())*a)}},_generatePosition:function(a){var b=this.options,c=this.cssPosition==&quot;absolute&quot;&amp;&amp;!(this.scrollParent[0]!=document&amp;&amp;d.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,e=/(html|body)/i.test(c[0].tagName);if(this.cssPosition==&quot;relative&quot;&amp;&amp;!(this.scrollParent[0]!=document&amp;&amp;this.scrollParent[0]!=this.offsetParent[0]))this.offset.relative=this._getRelativeOffset();var f=a.pageX,g=a.pageY;if(this.originalPosition){if(this.containment){if(a.pageX-
+this.offset.click.left&lt;this.containment[0])f=this.containment[0]+this.offset.click.left;if(a.pageY-this.offset.click.top&lt;this.containment[1])g=this.containment[1]+this.offset.click.top;if(a.pageX-this.offset.click.left&gt;this.containment[2])f=this.containment[2]+this.offset.click.left;if(a.pageY-this.offset.click.top&gt;this.containment[3])g=this.containment[3]+this.offset.click.top}if(b.grid){g=this.originalPageY+Math.round((g-this.originalPageY)/b.grid[1])*b.grid[1];g=this.containment?!(g-this.offset.click.top&lt;
+this.containment[1]||g-this.offset.click.top&gt;this.containment[3])?g:!(g-this.offset.click.top&lt;this.containment[1])?g-b.grid[1]:g+b.grid[1]:g;f=this.originalPageX+Math.round((f-this.originalPageX)/b.grid[0])*b.grid[0];f=this.containment?!(f-this.offset.click.left&lt;this.containment[0]||f-this.offset.click.left&gt;this.containment[2])?f:!(f-this.offset.click.left&lt;this.containment[0])?f-b.grid[0]:f+b.grid[0]:f}}return{top:g-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(d.browser.safari&amp;&amp;
+this.cssPosition==&quot;fixed&quot;?0:this.cssPosition==&quot;fixed&quot;?-this.scrollParent.scrollTop():e?0:c.scrollTop()),left:f-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(d.browser.safari&amp;&amp;this.cssPosition==&quot;fixed&quot;?0:this.cssPosition==&quot;fixed&quot;?-this.scrollParent.scrollLeft():e?0:c.scrollLeft())}},_rearrange:function(a,b,c,e){c?c[0].appendChild(this.placeholder[0]):b.item[0].parentNode.insertBefore(this.placeholder[0],this.direction==&quot;down&quot;?b.item[0]:b.item[0].nextSibling);this.counter=
+this.counter?++this.counter:1;var f=this,g=this.counter;window.setTimeout(function(){g==f.counter&amp;&amp;f.refreshPositions(!e)},0)},_clear:function(a,b){this.reverting=false;var c=[];!this._noFinalSort&amp;&amp;this.currentItem[0].parentNode&amp;&amp;this.placeholder.before(this.currentItem);this._noFinalSort=null;if(this.helper[0]==this.currentItem[0]){for(var e in this._storedCSS)if(this._storedCSS[e]==&quot;auto&quot;||this._storedCSS[e]==&quot;static&quot;)this._storedCSS[e]=&quot;&quot;;this.currentItem.css(this._storedCSS).removeClass(&quot;ui-sortable-helper&quot;)}else this.currentItem.show();
+this.fromOutside&amp;&amp;!b&amp;&amp;c.push(function(f){this._trigger(&quot;receive&quot;,f,this._uiHash(this.fromOutside))});if((this.fromOutside||this.domPosition.prev!=this.currentItem.prev().not(&quot;.ui-sortable-helper&quot;)[0]||this.domPosition.parent!=this.currentItem.parent()[0])&amp;&amp;!b)c.push(function(f){this._trigger(&quot;update&quot;,f,this._uiHash())});if(!d.ui.contains(this.element[0],this.currentItem[0])){b||c.push(function(f){this._trigger(&quot;remove&quot;,f,this._uiHash())});for(e=this.containers.length-1;e&gt;=0;e--)if(d.ui.contains(this.containers[e].element[0],
+this.currentItem[0])&amp;&amp;!b){c.push(function(f){return function(g){f._trigger(&quot;receive&quot;,g,this._uiHash(this))}}.call(this,this.containers[e]));c.push(function(f){return function(g){f._trigger(&quot;update&quot;,g,this._uiHash(this))}}.call(this,this.containers[e]))}}for(e=this.containers.length-1;e&gt;=0;e--){b||c.push(function(f){return function(g){f._trigger(&quot;deactivate&quot;,g,this._uiHash(this))}}.call(this,this.containers[e]));if(this.containers[e].containerCache.over){c.push(function(f){return function(g){f._trigger(&quot;out&quot;,
+g,this._uiHash(this))}}.call(this,this.containers[e]));this.containers[e].containerCache.over=0}}this._storedCursor&amp;&amp;d(&quot;body&quot;).css(&quot;cursor&quot;,this._storedCursor);this._storedOpacity&amp;&amp;this.helper.css(&quot;opacity&quot;,this._storedOpacity);if(this._storedZIndex)this.helper.css(&quot;zIndex&quot;,this._storedZIndex==&quot;auto&quot;?&quot;&quot;:this._storedZIndex);this.dragging=false;if(this.cancelHelperRemoval){if(!b){this._trigger(&quot;beforeStop&quot;,a,this._uiHash());for(e=0;e&lt;c.length;e++)c[e].call(this,a);this._trigger(&quot;stop&quot;,a,this._uiHash())}return false}b||
+this._trigger(&quot;beforeStop&quot;,a,this._uiHash());this.placeholder[0].parentNode.removeChild(this.placeholder[0]);this.helper[0]!=this.currentItem[0]&amp;&amp;this.helper.remove();this.helper=null;if(!b){for(e=0;e&lt;c.length;e++)c[e].call(this,a);this._trigger(&quot;stop&quot;,a,this._uiHash())}this.fromOutside=false;return true},_trigger:function(){d.Widget.prototype._trigger.apply(this,arguments)===false&amp;&amp;this.cancel()},_uiHash:function(a){var b=a||this;return{helper:b.helper,placeholder:b.placeholder||d([]),position:b.position,
+originalPosition:b.originalPosition,offset:b.positionAbs,item:b.currentItem,sender:a?a.element:null}}});d.extend(d.ui.sortable,{version:&quot;1.8.9&quot;})})(jQuery);
</ins></span></pre></div>
<a id="trunkwpincludesjsjqueryuitabsjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui.tabs.js (17345 => 17346)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui.tabs.js        2011-01-22 01:31:21 UTC (rev 17345)
+++ trunk/wp-includes/js/jquery/ui.tabs.js        2011-01-22 02:30:03 UTC (rev 17346)
</span><span class="lines">@@ -1,7 +1,7 @@
</span><span class="cx"> /*
</span><del>- * jQuery UI Tabs 1.8.8
</del><ins>+ * jQuery UI Tabs 1.8.9
</ins><span class="cx">  *
</span><del>- * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
</del><ins>+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
</ins><span class="cx">  * Dual licensed under the MIT or GPL Version 2 licenses.
</span><span class="cx">  * http://jquery.org/license
</span><span class="cx">  *
</span><span class="lines">@@ -17,7 +17,7 @@
</span><span class="cx"> (q=d(&quot;base&quot;)[0])&amp;&amp;l===q.href)){i=f.hash;f.href=i}if(h.test(i))a.panels=a.panels.add(a.element.find(a._sanitizeSelector(i)));else if(i&amp;&amp;i!==&quot;#&quot;){d.data(f,&quot;href.tabs&quot;,i);d.data(f,&quot;load.tabs&quot;,i.replace(/#.*$/,&quot;&quot;));i=a._tabId(f);f.href=&quot;#&quot;+i;f=a.element.find(&quot;#&quot;+i);if(!f.length){f=d(c.panelTemplate).attr(&quot;id&quot;,i).addClass(&quot;ui-tabs-panel ui-widget-content ui-corner-bottom&quot;).insertAfter(a.panels[g-1]||a.list);f.data(&quot;destroy.tabs&quot;,true)}a.panels=a.panels.add(f)}else c.disabled.push(g)});if(b){this.element.addClass(&quot;ui-tabs ui-widget ui-widget-content ui-corner-all&quot;);
</span><span class="cx"> this.list.addClass(&quot;ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all&quot;);this.lis.addClass(&quot;ui-state-default ui-corner-top&quot;);this.panels.addClass(&quot;ui-tabs-panel ui-widget-content ui-corner-bottom&quot;);if(c.selected===p){location.hash&amp;&amp;this.anchors.each(function(g,f){if(f.hash==location.hash){c.selected=g;return false}});if(typeof c.selected!==&quot;number&quot;&amp;&amp;c.cookie)c.selected=parseInt(a._cookie(),10);if(typeof c.selected!==&quot;number&quot;&amp;&amp;this.lis.filter(&quot;.ui-tabs-selected&quot;).length)c.selected=
</span><span class="cx"> this.lis.index(this.lis.filter(&quot;.ui-tabs-selected&quot;));c.selected=c.selected||(this.lis.length?0:-1)}else if(c.selected===null)c.selected=-1;c.selected=c.selected&gt;=0&amp;&amp;this.anchors[c.selected]||c.selected&lt;0?c.selected:0;c.disabled=d.unique(c.disabled.concat(d.map(this.lis.filter(&quot;.ui-state-disabled&quot;),function(g){return a.lis.index(g)}))).sort();d.inArray(c.selected,c.disabled)!=-1&amp;&amp;c.disabled.splice(d.inArray(c.selected,c.disabled),1);this.panels.addClass(&quot;ui-tabs-hide&quot;);this.lis.removeClass(&quot;ui-tabs-selected ui-state-active&quot;);
</span><del>-if(c.selected&gt;=0&amp;&amp;this.anchors.length){a.element.find(a._sanitizeSelector(a.anchors[c.selected].hash)).removeClass(&quot;ui-tabs-hide&quot;);this.lis.eq(c.selected).addClass(&quot;ui-tabs-selected ui-state-active&quot;);a.element.queue(&quot;tabs&quot;,function(){a._trigger(&quot;show&quot;,null,a._ui(a.anchors[c.selected],a.element.find(a._sanitizeSelector(a.anchors[c.selected].hash))))});this.load(c.selected)}d(window).bind(&quot;unload&quot;,function(){a.lis.add(a.anchors).unbind(&quot;.tabs&quot;);a.lis=a.anchors=a.panels=null})}else c.selected=this.lis.index(this.lis.filter(&quot;.ui-tabs-selected&quot;));
</del><ins>+if(c.selected&gt;=0&amp;&amp;this.anchors.length){a.element.find(a._sanitizeSelector(a.anchors[c.selected].hash)).removeClass(&quot;ui-tabs-hide&quot;);this.lis.eq(c.selected).addClass(&quot;ui-tabs-selected ui-state-active&quot;);a.element.queue(&quot;tabs&quot;,function(){a._trigger(&quot;show&quot;,null,a._ui(a.anchors[c.selected],a.element.find(a._sanitizeSelector(a.anchors[c.selected].hash))[0]))});this.load(c.selected)}d(window).bind(&quot;unload&quot;,function(){a.lis.add(a.anchors).unbind(&quot;.tabs&quot;);a.lis=a.anchors=a.panels=null})}else c.selected=this.lis.index(this.lis.filter(&quot;.ui-tabs-selected&quot;));
</ins><span class="cx"> this.element[c.collapsible?&quot;addClass&quot;:&quot;removeClass&quot;](&quot;ui-tabs-collapsible&quot;);c.cookie&amp;&amp;this._cookie(c.selected,c.cookie);b=0;for(var j;j=this.lis[b];b++)d(j)[d.inArray(b,c.disabled)!=-1&amp;&amp;!d(j).hasClass(&quot;ui-tabs-selected&quot;)?&quot;addClass&quot;:&quot;removeClass&quot;](&quot;ui-state-disabled&quot;);c.cache===false&amp;&amp;this.anchors.removeData(&quot;cache.tabs&quot;);this.lis.add(this.anchors).unbind(&quot;.tabs&quot;);if(c.event!==&quot;mouseover&quot;){var k=function(g,f){f.is(&quot;:not(.ui-state-disabled)&quot;)&amp;&amp;f.addClass(&quot;ui-state-&quot;+g)},n=function(g,f){f.removeClass(&quot;ui-state-&quot;+
</span><span class="cx"> g)};this.lis.bind(&quot;mouseover.tabs&quot;,function(){k(&quot;hover&quot;,d(this))});this.lis.bind(&quot;mouseout.tabs&quot;,function(){n(&quot;hover&quot;,d(this))});this.anchors.bind(&quot;focus.tabs&quot;,function(){k(&quot;focus&quot;,d(this).closest(&quot;li&quot;))});this.anchors.bind(&quot;blur.tabs&quot;,function(){n(&quot;focus&quot;,d(this).closest(&quot;li&quot;))})}var m,o;if(c.fx)if(d.isArray(c.fx)){m=c.fx[0];o=c.fx[1]}else m=o=c.fx;var r=o?function(g,f){d(g).closest(&quot;li&quot;).addClass(&quot;ui-tabs-selected ui-state-active&quot;);f.hide().removeClass(&quot;ui-tabs-hide&quot;).animate(o,o.duration||&quot;normal&quot;,
</span><span class="cx"> function(){e(f,o);a._trigger(&quot;show&quot;,null,a._ui(g,f[0]))})}:function(g,f){d(g).closest(&quot;li&quot;).addClass(&quot;ui-tabs-selected ui-state-active&quot;);f.removeClass(&quot;ui-tabs-hide&quot;);a._trigger(&quot;show&quot;,null,a._ui(g,f[0]))},s=m?function(g,f){f.animate(m,m.duration||&quot;normal&quot;,function(){a.lis.removeClass(&quot;ui-tabs-selected ui-state-active&quot;);f.addClass(&quot;ui-tabs-hide&quot;);e(f,m);a.element.dequeue(&quot;tabs&quot;)})}:function(g,f){a.lis.removeClass(&quot;ui-tabs-selected ui-state-active&quot;);f.addClass(&quot;ui-tabs-hide&quot;);a.element.dequeue(&quot;tabs&quot;)};
</span><span class="lines">@@ -31,5 +31,5 @@
</span><span class="cx"> this._ui(this.anchors[b],this.panels[b]));return this}},disable:function(b){b=this._getIndex(b);var e=this.options;if(b!=e.selected){this.lis.eq(b).addClass(&quot;ui-state-disabled&quot;);e.disabled.push(b);e.disabled.sort();this._trigger(&quot;disable&quot;,null,this._ui(this.anchors[b],this.panels[b]))}return this},select:function(b){b=this._getIndex(b);if(b==-1)if(this.options.collapsible&amp;&amp;this.options.selected!=-1)b=this.options.selected;else return this;this.anchors.eq(b).trigger(this.options.event+&quot;.tabs&quot;);return this},
</span><span class="cx"> load:function(b){b=this._getIndex(b);var e=this,a=this.options,c=this.anchors.eq(b)[0],h=d.data(c,&quot;load.tabs&quot;);this.abort();if(!h||this.element.queue(&quot;tabs&quot;).length!==0&amp;&amp;d.data(c,&quot;cache.tabs&quot;))this.element.dequeue(&quot;tabs&quot;);else{this.lis.eq(b).addClass(&quot;ui-state-processing&quot;);if(a.spinner){var j=d(&quot;span&quot;,c);j.data(&quot;label.tabs&quot;,j.html()).html(a.spinner)}this.xhr=d.ajax(d.extend({},a.ajaxOptions,{url:h,success:function(k,n){e.element.find(e._sanitizeSelector(c.hash)).html(k);e._cleanup();a.cache&amp;&amp;d.data(c,
</span><span class="cx"> &quot;cache.tabs&quot;,true);e._trigger(&quot;load&quot;,null,e._ui(e.anchors[b],e.panels[b]));try{a.ajaxOptions.success(k,n)}catch(m){}},error:function(k,n){e._cleanup();e._trigger(&quot;load&quot;,null,e._ui(e.anchors[b],e.panels[b]));try{a.ajaxOptions.error(k,n,b,c)}catch(m){}}}));e.element.dequeue(&quot;tabs&quot;);return this}},abort:function(){this.element.queue([]);this.panels.stop(false,true);this.element.queue(&quot;tabs&quot;,this.element.queue(&quot;tabs&quot;).splice(-2,2));if(this.xhr){this.xhr.abort();delete this.xhr}this._cleanup();return this},
</span><del>-url:function(b,e){this.anchors.eq(b).removeData(&quot;cache.tabs&quot;).data(&quot;load.tabs&quot;,e);return this},length:function(){return this.anchors.length}});d.extend(d.ui.tabs,{version:&quot;1.8.8&quot;});d.extend(d.ui.tabs.prototype,{rotation:null,rotate:function(b,e){var a=this,c=this.options,h=a._rotate||(a._rotate=function(j){clearTimeout(a.rotation);a.rotation=setTimeout(function(){var k=c.selected;a.select(++k&lt;a.anchors.length?k:0)},b);j&amp;&amp;j.stopPropagation()});e=a._unrotate||(a._unrotate=!e?function(j){j.clientX&amp;&amp;
</del><ins>+url:function(b,e){this.anchors.eq(b).removeData(&quot;cache.tabs&quot;).data(&quot;load.tabs&quot;,e);return this},length:function(){return this.anchors.length}});d.extend(d.ui.tabs,{version:&quot;1.8.9&quot;});d.extend(d.ui.tabs.prototype,{rotation:null,rotate:function(b,e){var a=this,c=this.options,h=a._rotate||(a._rotate=function(j){clearTimeout(a.rotation);a.rotation=setTimeout(function(){var k=c.selected;a.select(++k&lt;a.anchors.length?k:0)},b);j&amp;&amp;j.stopPropagation()});e=a._unrotate||(a._unrotate=!e?function(j){j.clientX&amp;&amp;
</ins><span class="cx"> a.rotate(null)}:function(){t=c.selected;h()});if(b){this.element.bind(&quot;tabsshow&quot;,h);this.anchors.bind(c.event+&quot;.tabs&quot;,e);h()}else{clearTimeout(a.rotation);this.element.unbind(&quot;tabsshow&quot;,h);this.anchors.unbind(c.event+&quot;.tabs&quot;,e);delete this._rotate;delete this._unrotate}return this}})})(jQuery);
</span></span></pre></div>
<a id="trunkwpincludesjsjqueryuiwidgetjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/jquery/ui.widget.js (17345 => 17346)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/jquery/ui.widget.js        2011-01-22 01:31:21 UTC (rev 17345)
+++ trunk/wp-includes/js/jquery/ui.widget.js        2011-01-22 02:30:03 UTC (rev 17346)
</span><span class="lines">@@ -1,7 +1,7 @@
</span><span class="cx"> /*!
</span><del>- * jQuery UI Widget 1.8.8
</del><ins>+ * jQuery UI Widget 1.8.9
</ins><span class="cx">  *
</span><del>- * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
</del><ins>+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
</ins><span class="cx">  * Dual licensed under the MIT or GPL Version 2 licenses.
</span><span class="cx">  * http://jquery.org/license
</span><span class="cx">  *
</span></span></pre></div>
<a id="trunkwpincludesscriptloaderphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/script-loader.php (17345 => 17346)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/script-loader.php        2011-01-22 01:31:21 UTC (rev 17345)
+++ trunk/wp-includes/script-loader.php        2011-01-22 02:30:03 UTC (rev 17346)
</span><span class="lines">@@ -123,40 +123,40 @@
</span><span class="cx"> 
</span><span class="cx">         $scripts-&gt;add( 'jquery', '/wp-includes/js/jquery/jquery.js', false, '1.4.4');
</span><span class="cx"> 
</span><del>-        $scripts-&gt;add( 'jquery-ui-core', '/wp-includes/js/jquery/ui.core.js', array('jquery'), '1.8.8' );
</del><ins>+        $scripts-&gt;add( 'jquery-ui-core', '/wp-includes/js/jquery/ui.core.js', array('jquery'), '1.8.9' );
</ins><span class="cx">         $scripts-&gt;add_data( 'jquery-ui-core', 'group', 1 );
</span><span class="cx"> 
</span><del>-        $scripts-&gt;add( 'jquery-ui-position', '/wp-includes/js/jquery/ui.position.js', array('jquery'), '1.8.8' );
</del><ins>+        $scripts-&gt;add( 'jquery-ui-position', '/wp-includes/js/jquery/ui.position.js', array('jquery'), '1.8.9' );
</ins><span class="cx">         $scripts-&gt;add_data( 'jquery-ui-position', 'group', 1 );
</span><span class="cx"> 
</span><del>-        $scripts-&gt;add( 'jquery-ui-widget', '/wp-includes/js/jquery/ui.widget.js', array('jquery'), '1.8.8' );
</del><ins>+        $scripts-&gt;add( 'jquery-ui-widget', '/wp-includes/js/jquery/ui.widget.js', array('jquery'), '1.8.9' );
</ins><span class="cx">         $scripts-&gt;add_data( 'jquery-ui-widget', 'group', 1 );
</span><span class="cx"> 
</span><del>-        $scripts-&gt;add( 'jquery-ui-mouse', '/wp-includes/js/jquery/ui.mouse.js', array('jquery', 'jquery-ui-widget'), '1.8.8' );
</del><ins>+        $scripts-&gt;add( 'jquery-ui-mouse', '/wp-includes/js/jquery/ui.mouse.js', array('jquery', 'jquery-ui-widget'), '1.8.9' );
</ins><span class="cx">         $scripts-&gt;add_data( 'jquery-ui-mouse', 'group', 1 );
</span><span class="cx"> 
</span><del>-        $scripts-&gt;add( 'jquery-ui-button', '/wp-includes/js/jquery/ui.button.js', array('jquery-ui-core', 'jquery-ui-widget'), '1.8.8' );
</del><ins>+        $scripts-&gt;add( 'jquery-ui-button', '/wp-includes/js/jquery/ui.button.js', array('jquery-ui-core', 'jquery-ui-widget'), '1.8.9' );
</ins><span class="cx">         $scripts-&gt;add_data( 'jquery-ui-button', 'group', 1 );
</span><span class="cx"> 
</span><del>-        $scripts-&gt;add( 'jquery-ui-tabs', '/wp-includes/js/jquery/ui.tabs.js', array('jquery-ui-core', 'jquery-ui-widget'), '1.8.8' );
</del><ins>+        $scripts-&gt;add( 'jquery-ui-tabs', '/wp-includes/js/jquery/ui.tabs.js', array('jquery-ui-core', 'jquery-ui-widget'), '1.8.9' );
</ins><span class="cx">         $scripts-&gt;add_data( 'jquery-ui-tabs', 'group', 1 );
</span><span class="cx"> 
</span><del>-        $scripts-&gt;add( 'jquery-ui-sortable', '/wp-includes/js/jquery/ui.sortable.js', array('jquery-ui-core', 'jquery-ui-mouse'), '1.8.8' );
</del><ins>+        $scripts-&gt;add( 'jquery-ui-sortable', '/wp-includes/js/jquery/ui.sortable.js', array('jquery-ui-core', 'jquery-ui-mouse'), '1.8.9' );
</ins><span class="cx">         $scripts-&gt;add_data( 'jquery-ui-sortable', 'group', 1 );
</span><span class="cx"> 
</span><del>-        $scripts-&gt;add( 'jquery-ui-draggable', '/wp-includes/js/jquery/ui.draggable.js', array('jquery-ui-core', 'jquery-ui-mouse'), '1.8.8' );
</del><ins>+        $scripts-&gt;add( 'jquery-ui-draggable', '/wp-includes/js/jquery/ui.draggable.js', array('jquery-ui-core', 'jquery-ui-mouse'), '1.8.9' );
</ins><span class="cx">         $scripts-&gt;add_data( 'jquery-ui-draggable', 'group', 1 );
</span><span class="cx"> 
</span><del>-        $scripts-&gt;add( 'jquery-ui-droppable', '/wp-includes/js/jquery/ui.droppable.js', array('jquery-ui-core', 'jquery-ui-mouse', 'jquery-ui-draggable'), '1.8.8' );
</del><ins>+        $scripts-&gt;add( 'jquery-ui-droppable', '/wp-includes/js/jquery/ui.droppable.js', array('jquery-ui-core', 'jquery-ui-mouse', 'jquery-ui-draggable'), '1.8.9' );
</ins><span class="cx">         $scripts-&gt;add_data( 'jquery-ui-droppable', 'group', 1 );
</span><span class="cx"> 
</span><del>-        $scripts-&gt;add( 'jquery-ui-selectable', '/wp-includes/js/jquery/ui.selectable.js', array('jquery-ui-core', 'jquery-ui-mouse'), '1.8.8' );
</del><ins>+        $scripts-&gt;add( 'jquery-ui-selectable', '/wp-includes/js/jquery/ui.selectable.js', array('jquery-ui-core', 'jquery-ui-mouse'), '1.8.9' );
</ins><span class="cx">         $scripts-&gt;add_data( 'jquery-ui-selectable', 'group', 1 );
</span><span class="cx"> 
</span><del>-        $scripts-&gt;add( 'jquery-ui-resizable', '/wp-includes/js/jquery/ui.resizable.js', array('jquery-ui-core', 'jquery-ui-mouse'), '1.8.8' );
</del><ins>+        $scripts-&gt;add( 'jquery-ui-resizable', '/wp-includes/js/jquery/ui.resizable.js', array('jquery-ui-core', 'jquery-ui-mouse'), '1.8.9' );
</ins><span class="cx">         $scripts-&gt;add_data( 'jquery-ui-resizable', 'group', 1 );
</span><span class="cx"> 
</span><del>-        $scripts-&gt;add( 'jquery-ui-dialog', '/wp-includes/js/jquery/ui.dialog.js', array('jquery-ui-resizable', 'jquery-ui-draggable', 'jquery-ui-button', 'jquery-ui-position'), '1.8.8' );
</del><ins>+        $scripts-&gt;add( 'jquery-ui-dialog', '/wp-includes/js/jquery/ui.dialog.js', array('jquery-ui-resizable', 'jquery-ui-draggable', 'jquery-ui-button', 'jquery-ui-position'), '1.8.9' );
</ins><span class="cx">         $scripts-&gt;add_data( 'jquery-ui-dialog', 'group', 1 );
</span><span class="cx"> 
</span><span class="cx">         // deprecated, not used in core, most functionality is included in jQuery 1.3
</span></span></pre>
</div>
</div>

</body>
</html>