<!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, #msg p { overflow: auto; background: #ffc; border: 1px #fc0 solid; padding: 6px; }
#msg ul { 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>[11870] trunk: Fix error in widgets.js, props Denis-de-Bernardy, see #10021</title>
</head>
<body>

<div id="msg">
<dl>
<dt>Revision</dt> <dd><a href="http://trac.wordpress.org/changeset/11870">11870</a></dd>
<dt>Author</dt> <dd>azaozz</dd>
<dt>Date</dt> <dd>2009-08-24 19:16:53 +0000 (Mon, 24 Aug 2009)</dd>
</dl>

<h3>Log Message</h3>
<pre>Fix error in widgets.js, props Denis-de-Bernardy, see <a href="http://trac.wordpress.org/ticket/10021">#10021</a></pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpadminjswidgetsdevjs">trunk/wp-admin/js/widgets.dev.js</a></li>
<li><a href="#trunkwpadminjswidgetsjs">trunk/wp-admin/js/widgets.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="trunkwpadminjswidgetsdevjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/js/widgets.dev.js (11869 => 11870)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/js/widgets.dev.js        2009-08-24 18:03:49 UTC (rev 11869)
+++ trunk/wp-admin/js/widgets.dev.js        2009-08-24 19:16:53 UTC (rev 11870)
</span><span class="lines">@@ -137,7 +137,7 @@
</span><span class="cx">                                 if ( !$(this).is(':visible') )
</span><span class="cx">                                         $(this).sortable('cancel');
</span><span class="cx">                         }
</span><del>-                })..sortable('option', 'connectWith', 'div.widgets-sortables').parent().filter('.closed').children('.widgets-sortables').sortable('disable');
</del><ins>+                }).sortable('option', 'connectWith', 'div.widgets-sortables').parent().filter('.closed').children('.widgets-sortables').sortable('disable');
</ins><span class="cx"> 
</span><span class="cx">                 $('#available-widgets').droppable({
</span><span class="cx">                         tolerance: 'pointer',
</span></span></pre></div>
<a id="trunkwpadminjswidgetsjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/js/widgets.js (11869 => 11870)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/js/widgets.js        2009-08-24 18:03:49 UTC (rev 11869)
+++ trunk/wp-admin/js/widgets.js        2009-08-24 19:16:53 UTC (rev 11870)
</span><span class="lines">@@ -1 +1 @@
</span><del>-var wpWidgets;(function(a){wpWidgets={init:function(){var c,b=a(&quot;div.widgets-sortables&quot;);a(&quot;#widgets-right&quot;).children(&quot;.widgets-holder-wrap&quot;).children(&quot;.sidebar-name&quot;).click(function(){var e=a(this).siblings(&quot;.widgets-sortables&quot;),d=a(this).parent();if(!d.hasClass(&quot;closed&quot;)){e.sortable(&quot;disable&quot;);d.addClass(&quot;closed&quot;)}else{d.removeClass(&quot;closed&quot;);e.sortable(&quot;enable&quot;).sortable(&quot;refresh&quot;)}});a(&quot;#widgets-left&quot;).children(&quot;.widgets-holder-wrap&quot;).children(&quot;.sidebar-name&quot;).click(function(){a(this).siblings(&quot;.widget-holder&quot;).parent().toggleClass(&quot;closed&quot;)});b.not(&quot;#wp_inactive_widgets&quot;).each(function(){var e=50,d=a(this).children(&quot;.widget&quot;).length;e=e+parseInt(d*48,10);a(this).css(&quot;minHeight&quot;,e+&quot;px&quot;)});a(&quot;a.widget-action&quot;).live(&quot;click&quot;,function(){var f={},g=a(this).closest(&quot;div.widget&quot;),d=g.children(&quot;.widget-inside&quot;),e=parseInt(g.find(&quot;input.widget-width&quot;).val(),10);if(d.is(&quot;:hidden&quot;)){if(e&gt;250&amp;&amp;d.closest(&quot;div.widgets-sortables&quot;).length){f.width=e+30+&quot;px&quot;;if(d.closest(&quot;div.widget-liquid-right&quot;).length){f.marginLeft=235-e+&quot;px&quot;}g.css(f)}wpWidgets.fixLabels(g);d.slideDown(&quot;fast&quot;)}else{d.slideUp(&quot;fast&quot;,function(){g.css({width:&quot;&quot;,marginLeft:&quot;&quot;})})}return false});a(&quot;input.widget-control-save&quot;).live(&quot;click&quot;,function(){wpWidgets.save(a(this).closest(&quot;div.widget&quot;),0,1,0);return false});a(&quot;a.widget-control-remove&quot;).live(&quot;click&quot;,function(){wpWidgets.save(a(this).closest(&quot;div.widget&quot;),1,1,0);return false});a(&quot;a.widget-control-close&quot;).live(&quot;click&quot;,function(){wpWidgets.close(a(this).closest(&quot;div.widget&quot;));return false});b.children(&quot;.widget&quot;).each(function(){wpWidgets.appendTitle(this);if(a(&quot;p.widget-error&quot;,this).length){a(&quot;a.widget-action&quot;,this).click()}});a(&quot;#widget-list&quot;).children(&quot;.widget&quot;).draggable({connectToSortable:&quot;div.widgets-sortables&quot;,handle:&quot;&gt; .widget-top &gt; .widget-title&quot;,distance:2,helper:&quot;clone&quot;,zIndex:5,containment:&quot;document&quot;,start:function(f,d){wpWidgets.fixWebkit(1);d.helper.find(&quot;div.widget-description&quot;).hide()},stop:function(f,d){if(c){a(c).hide()}c=&quot;&quot;;wpWidgets.fixWebkit()}});b.sortable({placeholder:&quot;widget-placeholder&quot;,items:&quot;&gt; .widget&quot;,handle:&quot;&gt; .widget-top &gt; .widget-title&quot;,cursor:&quot;move&quot;,distance:2,containment:&quot;document&quot;,start:function(f,d){wpWidgets.fixWebkit(1);d.item.children(&quot;.widget-inside&quot;).hide();d.item.css({marginLeft:&quot;&quot;,width:&quot;&quot;})},stop:function(g,d){if(d.item.hasClass(&quot;ui-draggable&quot;)){d.item.draggable(&quot;destroy&quot;)}if(d.item.hasClass(&quot;deleting&quot;)){wpWidgets.save(d.item,1,0,1);d.item.remove();return}var f=d.item.find(&quot;input.add_new&quot;).val(),j=d.item.find(&quot;input.multi_number&quot;).val(),i=d.item.attr(&quot;id&quot;),h=a(this).attr(&quot;id&quot;);d.item.css({marginLeft:&quot;&quot;,width:&quot;&quot;});wpWidgets.fixWebkit();if(f){if(&quot;multi&quot;==f){d.item.html(d.item.html().replace(/&lt;[^&lt;&gt;]+&gt;/g,function(e){return e.replace(/__i__|%i%/g,j)}));d.item.attr(&quot;id&quot;,i.replace(/__i__|%i%/g,j));j++;a(&quot;div#&quot;+i).find(&quot;input.multi_number&quot;).val(j)}else{if(&quot;single&quot;==f){d.item.attr(&quot;id&quot;,&quot;new-&quot;+i);c=&quot;div#&quot;+i}}wpWidgets.save(d.item,0,0,1);d.item.find(&quot;input.add_new&quot;).val(&quot;&quot;);d.item.find(&quot;a.widget-action&quot;).click();return}wpWidgets.saveOrder(h)},receive:function(f,d){if(!a(this).is(&quot;:visible&quot;)){a(this).sortable(&quot;cancel&quot;)}}})..sortable(&quot;option&quot;,&quot;connectWith&quot;,&quot;div.widgets-sortables&quot;).parent().filter(&quot;.closed&quot;).children(&quot;.widgets-sortables&quot;).sortable(&quot;disable&quot;);a(&quot;#available-widgets&quot;).droppable({tolerance:&quot;pointer&quot;,accept:function(d){return a(d).parent().attr(&quot;id&quot;)!=&quot;widget-list&quot;},drop:function(f,d){d.draggable.addClass(&quot;deleting&quot;);a(&quot;#removing-widget&quot;).hide().children(&quot;span&quot;).html(&quot;&quot;)},over:function(f,d){d.draggable.addClass(&quot;deleting&quot;);a(&quot;div.widget-placeholder&quot;).hide();if(d.draggable.hasClass(&quot;ui-sortable-helper&quot;)){a(&quot;#removing-widget&quot;).show().children(&quot;span&quot;).html(d.draggable.find(&quot;div.widget-title&quot;).children(&quot;h4&quot;).html())}},out:function(f,d){d.draggable.removeClass(&quot;deleting&quot;);a(&quot;div.widget-placeholder&quot;).show();a(&quot;#removing-widget&quot;).hide().children(&quot;span&quot;).html(&quot;&quot;)}})},saveOrder:function(c){if(c){a(&quot;#&quot;+c).closest(&quot;div.widgets-holder-wrap&quot;).find(&quot;img.ajax-feedback&quot;).css(&quot;visibility&quot;,&quot;visible&quot;)}var b={action:&quot;widgets-order&quot;,savewidgets:a(&quot;#_wpnonce_widgets&quot;).val(),sidebars:[]};a(&quot;div.widgets-sortables&quot;).each(function(){b[&quot;sidebars[&quot;+a(this).attr(&quot;id&quot;)+&quot;]&quot;]=a(this).sortable(&quot;toArray&quot;).join(&quot;,&quot;)});a.post(ajaxurl,b,function(){a(&quot;img.ajax-feedback&quot;).css(&quot;visibility&quot;,&quot;hidden&quot;)});this.resize()},save:function(g,d,e,b){var h=g.closest(&quot;div.widgets-sortables&quot;).attr(&quot;id&quot;),f=g.find(&quot;form&quot;).serialize(),c;g=a(g);a(&quot;.ajax-feedback&quot;,g).css(&quot;visibility&quot;,&quot;visible&quot;);c={action:&quot;save-widget&quot;,savewidgets:a(&quot;#_wpnonce_widgets&quot;).val(),sidebar:h};if(d){c.delete_widget=1}f+=&quot;&amp;&quot;+a.param(c);a.post(ajaxurl,f,function(i){var j;if(d){if(!a(&quot;input.widget_number&quot;,g).val()){j=a(&quot;input.widget-id&quot;,g).val();a(&quot;#available-widgets&quot;).find(&quot;input.widget-id&quot;).each(function(){if(a(this).val()==j){a(this).closest(&quot;div.widget&quot;).show()}})}if(e){b=0;g.slideUp(&quot;fast&quot;,function(){a(this).remove();wpWidgets.saveOrder()})}else{g.remove();wpWidgets.resize()}}else{a(&quot;.ajax-feedback&quot;).css(&quot;visibility&quot;,&quot;hidden&quot;);if(i&amp;&amp;i.length&gt;2){a(&quot;div.widget-content&quot;,g).html(i);wpWidgets.appendTitle(g);wpWidgets.fixLabels(g)}}if(b){wpWidgets.saveOrder()}})},appendTitle:function(b){var c=a('input[id*=&quot;-title&quot;]',b);if(c=c.val()){c=c.replace(/&lt;[^&lt;&gt;]+&gt;/g,&quot;&quot;).replace(/&lt;/g,&quot;&amp;lt;&quot;).replace(/&gt;/g,&quot;&amp;gt;&quot;);a(b).children(&quot;.widget-top&quot;).children(&quot;.widget-title&quot;).children().children(&quot;.in-widget-title&quot;).html(&quot;: &quot;+c)}},resize:function(){a(&quot;div.widgets-sortables&quot;).not(&quot;#wp_inactive_widgets&quot;).each(function(){var c=50,b=a(this).children(&quot;.widget&quot;).length;c=c+parseInt(b*48,10);a(this).css(&quot;minHeight&quot;,c+&quot;px&quot;)})},fixWebkit:function(b){b=b?&quot;none&quot;:&quot;&quot;;a(&quot;body&quot;).css({WebkitUserSelect:b,KhtmlUserSelect:b})},fixLabels:function(b){b.children(&quot;.widget-inside&quot;).find(&quot;label&quot;).each(function(){var c=a(this).attr(&quot;for&quot;);if(c&amp;&amp;c==a(&quot;input&quot;,this).attr(&quot;id&quot;)){a(this).removeAttr(&quot;for&quot;)}})},close:function(b){b.children(&quot;.widget-inside&quot;).slideUp(&quot;fast&quot;,function(){b.css({width:&quot;&quot;,marginLeft:&quot;&quot;})})}};a(document).ready(function(b){wpWidgets.init()})})(jQuery);
</del><span class="cx">\ No newline at end of file
</span><ins>+var wpWidgets;(function(a){wpWidgets={init:function(){var c,b=a(&quot;div.widgets-sortables&quot;);a(&quot;#widgets-right&quot;).children(&quot;.widgets-holder-wrap&quot;).children(&quot;.sidebar-name&quot;).click(function(){var e=a(this).siblings(&quot;.widgets-sortables&quot;),d=a(this).parent();if(!d.hasClass(&quot;closed&quot;)){e.sortable(&quot;disable&quot;);d.addClass(&quot;closed&quot;)}else{d.removeClass(&quot;closed&quot;);e.sortable(&quot;enable&quot;).sortable(&quot;refresh&quot;)}});a(&quot;#widgets-left&quot;).children(&quot;.widgets-holder-wrap&quot;).children(&quot;.sidebar-name&quot;).click(function(){a(this).siblings(&quot;.widget-holder&quot;).parent().toggleClass(&quot;closed&quot;)});b.not(&quot;#wp_inactive_widgets&quot;).each(function(){var e=50,d=a(this).children(&quot;.widget&quot;).length;e=e+parseInt(d*48,10);a(this).css(&quot;minHeight&quot;,e+&quot;px&quot;)});a(&quot;a.widget-action&quot;).live(&quot;click&quot;,function(){var f={},g=a(this).closest(&quot;div.widget&quot;),d=g.children(&quot;.widget-inside&quot;),e=parseInt(g.find(&quot;input.widget-width&quot;).val(),10);if(d.is(&quot;:hidden&quot;)){if(e&gt;250&amp;&amp;d.closest(&quot;div.widgets-sortables&quot;).length){f.width=e+30+&quot;px&quot;;if(d.closest(&quot;div.widget-liquid-right&quot;).length){f.marginLeft=235-e+&quot;px&quot;}g.css(f)}wpWidgets.fixLabels(g);d.slideDown(&quot;fast&quot;)}else{d.slideUp(&quot;fast&quot;,function(){g.css({width:&quot;&quot;,marginLeft:&quot;&quot;})})}return false});a(&quot;input.widget-control-save&quot;).live(&quot;click&quot;,function(){wpWidgets.save(a(this).closest(&quot;div.widget&quot;),0,1,0);return false});a(&quot;a.widget-control-remove&quot;).live(&quot;click&quot;,function(){wpWidgets.save(a(this).closest(&quot;div.widget&quot;),1,1,0);return false});a(&quot;a.widget-control-close&quot;).live(&quot;click&quot;,function(){wpWidgets.close(a(this).closest(&quot;div.widget&quot;));return false});b.children(&quot;.widget&quot;).each(function(){wpWidgets.appendTitle(this);if(a(&quot;p.widget-error&quot;,this).length){a(&quot;a.widget-action&quot;,this).click()}});a(&quot;#widget-list&quot;).children(&quot;.widget&quot;).draggable({connectToSortable:&quot;div.widgets-sortables&quot;,handle:&quot;&gt; .widget-top &gt; .widget-title&quot;,distance:2,helper:&quot;clone&quot;,zIndex:5,containment:&quot;document&quot;,start:function(f,d){wpWidgets.fixWebkit(1);d.helper.find(&quot;div.widget-description&quot;).hide()},stop:function(f,d){if(c){a(c).hide()}c=&quot;&quot;;wpWidgets.fixWebkit()}});b.sortable({placeholder:&quot;widget-placeholder&quot;,items:&quot;&gt; .widget&quot;,handle:&quot;&gt; .widget-top &gt; .widget-title&quot;,cursor:&quot;move&quot;,distance:2,containment:&quot;document&quot;,start:function(f,d){wpWidgets.fixWebkit(1);d.item.children(&quot;.widget-inside&quot;).hide();d.item.css({marginLeft:&quot;&quot;,width:&quot;&quot;})},stop:function(g,d){if(d.item.hasClass(&quot;ui-draggable&quot;)){d.item.draggable(&quot;destroy&quot;)}if(d.item.hasClass(&quot;deleting&quot;)){wpWidgets.save(d.item,1,0,1);d.item.remove();return}var f=d.item.find(&quot;input.add_new&quot;).val(),j=d.item.find(&quot;input.multi_number&quot;).val(),i=d.item.attr(&quot;id&quot;),h=a(this).attr(&quot;id&quot;);d.item.css({marginLeft:&quot;&quot;,width:&quot;&quot;});wpWidgets.fixWebkit();if(f){if(&quot;multi&quot;==f){d.item.html(d.item.html().replace(/&lt;[^&lt;&gt;]+&gt;/g,function(e){return e.replace(/__i__|%i%/g,j)}));d.item.attr(&quot;id&quot;,i.replace(/__i__|%i%/g,j));j++;a(&quot;div#&quot;+i).find(&quot;input.multi_number&quot;).val(j)}else{if(&quot;single&quot;==f){d.item.attr(&quot;id&quot;,&quot;new-&quot;+i);c=&quot;div#&quot;+i}}wpWidgets.save(d.item,0,0,1);d.item.find(&quot;input.add_new&quot;).val(&quot;&quot;);d.item.find(&quot;a.widget-action&quot;).click();return}wpWidgets.saveOrder(h)},receive:function(f,d){if(!a(this).is(&quot;:visible&quot;)){a(this).sortable(&quot;cancel&quot;)}}}).sortable(&quot;option&quot;,&quot;connectWith&quot;,&quot;div.widgets-sortables&quot;).parent().filter(&quot;.closed&quot;).children(&quot;.widgets-sortables&quot;).sortable(&quot;disable&quot;);a(&quot;#available-widgets&quot;).droppable({tolerance:&quot;pointer&quot;,accept:function(d){return a(d).parent().attr(&quot;id&quot;)!=&quot;widget-list&quot;},drop:function(f,d){d.draggable.addClass(&quot;deleting&quot;);a(&quot;#removing-widget&quot;).hide().children(&quot;span&quot;).html(&quot;&quot;)},over:function(f,d){d.draggable.addClass(&quot;deleting&quot;);a(&quot;div.widget-placeholder&quot;).hide();if(d.draggable.hasClass(&quot;ui-sortable-helper&quot;)){a(&quot;#removing-widget&quot;).show().children(&quot;span&quot;).html(d.draggable.find(&quot;div.widget-title&quot;).children(&quot;h4&quot;).html())}},out:function(f,d){d.draggable.removeClass(&quot;deleting&quot;);a(&quot;div.widget-placeholder&quot;).show();a(&quot;#removing-widget&quot;).hide().children(&quot;span&quot;).html(&quot;&quot;)}})},saveOrder:function(c){if(c){a(&quot;#&quot;+c).closest(&quot;div.widgets-holder-wrap&quot;).find(&quot;img.ajax-feedback&quot;).css(&quot;visibility&quot;,&quot;visible&quot;)}var b={action:&quot;widgets-order&quot;,savewidgets:a(&quot;#_wpnonce_widgets&quot;).val(),sidebars:[]};a(&quot;div.widgets-sortables&quot;).each(function(){b[&quot;sidebars[&quot;+a(this).attr(&quot;id&quot;)+&quot;]&quot;]=a(this).sortable(&quot;toArray&quot;).join(&quot;,&quot;)});a.post(ajaxurl,b,function(){a(&quot;img.ajax-feedback&quot;).css(&quot;visibility&quot;,&quot;hidden&quot;)});this.resize()},save:function(g,d,e,b){var h=g.closest(&quot;div.widgets-sortables&quot;).attr(&quot;id&quot;),f=g.find(&quot;form&quot;).serialize(),c;g=a(g);a(&quot;.ajax-feedback&quot;,g).css(&quot;visibility&quot;,&quot;visible&quot;);c={action:&quot;save-widget&quot;,savewidgets:a(&quot;#_wpnonce_widgets&quot;).val(),sidebar:h};if(d){c.delete_widget=1}f+=&quot;&amp;&quot;+a.param(c);a.post(ajaxurl,f,function(i){var j;if(d){if(!a(&quot;input.widget_number&quot;,g).val()){j=a(&quot;input.widget-id&quot;,g).val();a(&quot;#available-widgets&quot;).find(&quot;input.widget-id&quot;).each(function(){if(a(this).val()==j){a(this).closest(&quot;div.widget&quot;).show()}})}if(e){b=0;g.slideUp(&quot;fast&quot;,function(){a(this).remove();wpWidgets.saveOrder()})}else{g.remove();wpWidgets.resize()}}else{a(&quot;.ajax-feedback&quot;).css(&quot;visibility&quot;,&quot;hidden&quot;);if(i&amp;&amp;i.length&gt;2){a(&quot;div.widget-content&quot;,g).html(i);wpWidgets.appendTitle(g);wpWidgets.fixLabels(g)}}if(b){wpWidgets.saveOrder()}})},appendTitle:function(b){var c=a('input[id*=&quot;-title&quot;]',b);if(c=c.val()){c=c.replace(/&lt;[^&lt;&gt;]+&gt;/g,&quot;&quot;).replace(/&lt;/g,&quot;&amp;lt;&quot;).replace(/&gt;/g,&quot;&amp;gt;&quot;);a(b).children(&quot;.widget-top&quot;).children(&quot;.widget-title&quot;).children().children(&quot;.in-widget-title&quot;).html(&quot;: &quot;+c)}},resize:function(){a(&quot;div.widgets-sortables&quot;).not(&quot;#wp_inactive_widgets&quot;).each(function(){var c=50,b=a(this).children(&quot;.widget&quot;).length;c=c+parseInt(b*48,10);a(this).css(&quot;minHeight&quot;,c+&quot;px&quot;)})},fixWebkit:function(b){b=b?&quot;none&quot;:&quot;&quot;;a(&quot;body&quot;).css({WebkitUserSelect:b,KhtmlUserSelect:b})},fixLabels:function(b){b.children(&quot;.widget-inside&quot;).find(&quot;label&quot;).each(function(){var c=a(this).attr(&quot;for&quot;);if(c&amp;&amp;c==a(&quot;input&quot;,this).attr(&quot;id&quot;)){a(this).removeAttr(&quot;for&quot;)}})},close:function(b){b.children(&quot;.widget-inside&quot;).slideUp(&quot;fast&quot;,function(){b.css({width:&quot;&quot;,marginLeft:&quot;&quot;})})}};a(document).ready(function(b){wpWidgets.init()})})(jQuery);
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludesscriptloaderphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/script-loader.php (11869 => 11870)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/script-loader.php        2009-08-24 18:03:49 UTC (rev 11869)
+++ trunk/wp-includes/script-loader.php        2009-08-24 19:16:53 UTC (rev 11870)
</span><span class="lines">@@ -343,7 +343,7 @@
</span><span class="cx">                 $scripts-&gt;add( 'media-upload', &quot;/wp-admin/js/media-upload$suffix.js&quot;, array( 'thickbox' ), '20090114' );
</span><span class="cx">                 $scripts-&gt;add_data( 'media-upload', 'group', 1 );
</span><span class="cx"> 
</span><del>-                $scripts-&gt;add( 'admin-widgets', &quot;/wp-admin/js/widgets$suffix.js&quot;, array( 'jquery-ui-sortable', 'jquery-ui-draggable', 'jquery-ui-droppable' ), '20090820' );
</del><ins>+                $scripts-&gt;add( 'admin-widgets', &quot;/wp-admin/js/widgets$suffix.js&quot;, array( 'jquery-ui-sortable', 'jquery-ui-draggable', 'jquery-ui-droppable' ), '20090824' );
</ins><span class="cx">                 $scripts-&gt;add_data( 'admin-widgets', 'group', 1 );
</span><span class="cx"> 
</span><span class="cx">                 $scripts-&gt;add( 'word-count', &quot;/wp-admin/js/word-count$suffix.js&quot;, array( 'jquery' ), '20090422' );
</span></span></pre>
</div>
</div>

</body>
</html>