<!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>[13372] trunk: Fix menu selection CSS, menu selection alignment,
  right meta boxes alignment.</title>
</head>
<body>

<div id="msg">
<dl>
<dt>Revision</dt> <dd><a href="http://trac.wordpress.org/changeset/13372">13372</a></dd>
<dt>Author</dt> <dd>markjaquith</dd>
<dt>Date</dt> <dd>2010-02-24 10:37:00 +0000 (Wed, 24 Feb 2010)</dd>
</dl>

<h3>Log Message</h3>
<pre>Fix menu selection CSS, menu selection alignment, right meta boxes alignment. Disable alert fading for custom menu admin. see <a href="http://trac.wordpress.org/ticket/11817">#11817</a></pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpadmincsscustomnavigationcss">trunk/wp-admin/css/custom-navigation.css</a></li>
<li><a href="#trunkwpadmincsscustomnavigationdevcss">trunk/wp-admin/css/custom-navigation.dev.css</a></li>
<li><a href="#trunkwpadminjscustomnavigationdefaultitemsdevjs">trunk/wp-admin/js/custom-navigation-default-items.dev.js</a></li>
<li><a href="#trunkwpadminjscustomnavigationdefaultitemsjs">trunk/wp-admin/js/custom-navigation-default-items.js</a></li>
<li><a href="#trunkwpadminnavmenusphp">trunk/wp-admin/nav-menus.php</a></li>
<li><a href="#trunkwpincludesscriptloaderphp">trunk/wp-includes/script-loader.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpadmincsscustomnavigationcss"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/css/custom-navigation.css (13371 => 13372)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/css/custom-navigation.css        2010-02-24 10:20:45 UTC (rev 13371)
+++ trunk/wp-admin/css/custom-navigation.css        2010-02-24 10:37:00 UTC (rev 13372)
</span><span class="lines">@@ -1 +1 @@
</span><del>-.fix{clear:both;height:1px;margin:-1px 0 0;overflow:hidden;}.maintitle{margin:0 0 20px 0!important;}.logo{vertical-align:middle;margin:0 10px 0 0;}#pages-left{min-width:650px;max-width:1100px;width:100%;float:left;clear:left;margin-right:-315px;}#pages-left .inside{margin-top:20px;margin-right:315px;}#nav-container{margin-top:-3px;}.sidebar-name{background-color:#AAA;background-image:url(../images/ed-bg.gif);border-color:#DFDFDF;text-shadow:0 1px 0 #FFF;-moz-border-radius-topleft:8px;-moz-border-radius-topright:8px;background-position:0 0;background-repeat:repeat-x;border-style:solid;border-width:1px;cursor:pointer;font-size:13px;}.sidebar-name h3{font-size:13px;height:19px;margin:0;overflow:hidden;padding:5px 12px;white-space:nowrap;}.sidebar-name-arrow{background:transparent url(../images/menu-bits.gif) no-repeat scroll left -109px;float:right;height:29px;width:26px;}#menu-right{width:285px;margin-right:10px;margin-left:20px;float:left;clear:right;}h2.heading{margin:32px 0 10px 0;}.widgets-holder-wrap{margin:0 0 20px 0;}.widget-holder{padding:15px 10px;-moz-border-radius-bottomleft:8px;-moz-border-radius-bottomright:8px;border-style:none solid solid;border-width:0 1px 1px;background-color:#F1F1F1;border-color:#DDD;}.checkboxes{float:right;margin:10px 12px 0 0;}.addtomenu{display:block;float:right;margin:10px 0 0 0;text-shadow:0 -1px 0 rgba(0,0,0,0.3);background:#21759B url(../images/button-grad.png) repeat-x scroll left top;border-color:#298CBA!important;color:#FFF!important;font-weight:bold;-moz-border-radius-bottomleft:11px;-moz-border-radius-bottomright:11px;-moz-border-radius-topleft:11px;-moz-border-radius-topright:11px;border-style:solid;border-width:1px;cursor:pointer;font-size:11px!important;line-height:16px;padding:2px 8px;text-decoration:none;}.list{zoom:1;}.list li{margin:0;}.list dt{display:none;float:left;width:260px;margin:0;padding:0 0 0 5px;line-height:30px;border-bottom:1px solid #e3e3e3;}.list dt span{float:left;}.list dt img{cursor:pointer;float:right;margin:7px 5px 0 0;}#nav-container{padding:0 10px 10px 10px;background-color:#fff;border:1px solid #DFDFDF;border-top:none;-moz-border-radius-bottomleft:8px;-moz-border-radius-bottomright:8px;}#custom-nav ul{width:100%;}#custom-nav li{margin:0;}.ui-draggable-dragging{width:500px;}#custom-nav li dl dt{-webkit-border-bottom-left-radius:6px;-webkit-border-bottom-right-radius:6px;-webkit-border-top-left-radius:6px;-webkit-border-top-right-radius:6px;border-bottom-left-radius:6px;border-bottom-right-radius:6px;border-top-left-radius:6px;border-top-right-radius:6px;-moz-border-radius-bottomleft:6px;-moz-border-radius-bottomright:6px;-moz-border-radius-topleft:6px;-moz-border-radius-topright:6px;border:1px solid #E6E6E6;position:relative;padding-left:10px;background-color:#f1f1f1;height:35px;line-height:35px;}#custom-nav li dl dt:hover{cursor:move;}#custom-nav li dl dt .controls{position:absolute;right:15px;top:-1px;}#custom-nav li dl dt img{vertical-align:middle;}#custom-nav li .title{background:url(../images/ico-arrow.png) no-repeat 4px 5px;padding-left:15px;}#custom-nav li ul li{margin-left:20px;opacity:.7;}#custom-nav li ul li ul li{opacity:.9;}#custom-nav li ul li ul li ul li{opacity:.9;}#custom-nav li ul li ul li ul li ul li{opacity:.95;}#existing-pages li .title{background:url(../images/ico-arrow.png) no-repeat 4px 13px;padding-left:15px;}#existing-pages li ul li .title{margin-left:10px;}#existing-pages li ul li ul li .title{margin-left:20px;}#existing-pages li ul li ul li ul li .title{margin-left:30px;}#existing-pages li ul li ul li ul li ul li .title{margin-left:40px;}#existing-pages li ul li ul li ul li ul li ul li .title{margin-left:50px;}#existing-pages li ul li ul li ul li ul li ul li ul li .title{margin-left:60px;}#existing-pages li ul li ul li ul li ul li ul li ul li ul li .title{margin-left:70px;}#existing-pages li ul li ul li ul li ul li ul li ul li ul li ul li .title{margin-left:80px;}#existing-categories li .title{background:url(../images/ico-arrow.png) no-repeat 4px 13px;padding-left:15px;}#existing-categories li ul li .title{margin-left:10px;}#existing-categories li ul li ul li .title{margin-left:20px;}#existing-categories li ul li ul li ul li .title{margin-left:30px;}#existing-categories li ul li ul li ul li ul li .title{margin-left:40px;}#existing-categories li ul li ul li ul li ul li ul li .title{margin-left:50px;}#existing-categories li ul li ul li ul li ul li ul li ul li .title{margin-left:60px;}#existing-categories li ul li ul li ul li ul li ul li ul li ul li .title{margin-left:70px;}#existing-categories li ul li ul li ul li ul li ul li ul li ul li ul li .title{margin-left:80px;}img.remove,img.edit{cursor:pointer;margin:0 5px 0 0;}.dropzone{height:7px;margin:3px 0 3px 0;}.hide{display:none;}.type{text-transform:uppercase;font-size:11px;color:#999;padding-right:10px;}#menu_select{width:170px;}#dialog-confirm label{padding-left:10px;}.ui-dialog{background:#fff;border:1px solid #555;-moz-box-shadow:0 4px 30px #000;}.ui-dialog-titlebar{color:#CFCFCF;font-family:&quot;Lucida Grande&quot;,Verdana,Arial,sans-serif;padding:6px 10px 6px;background-color:#222!important;border:none!important;-moz-border-radius:none!important;}#dialog-confirm{height:168px!important;padding:20px 10px 10px;}#dialog-confirm input{margin:0 0 15px 0;width:280px;}#dialog-confirm select{margin:0 0 15px 0;}.ui-dialog-buttonpane{padding:10px;}.ui-dialog-buttonpane button{margin:0 10px 0 0;background:#F2F2F2;text-shadow:0 1px 0 #FFF;border-color:#BBB;color:#464646;-moz-border-radius-bottomleft:11px;-moz-border-radius-bottomright:11px;-moz-border-radius-topleft:11px;-moz-border-radius-topright:11px;border-style:solid;border-width:1px;cursor:pointer;font-size:11px!important;line-height:14px;padding:2px 8px;text-decoration:none;}.ui-dialog-buttonpane button:hover{color:#000;border-color:#666;}.ui-icon{display:none;}.ui-widget-overlay{position:absolute;top:0;left:0;width:100%;height:100%;}.ui-widget-overlay{background:#aaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;opacity:.60;filter:Alpha(Opacity=60);}.ui-widget-shadow{margin:-8px 0 0 -8px;padding:8px;background:#aaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;opacity:.60;filter:Alpha(Opacity=60);-moz-border-radius:8px;-webkit-border-radius:8px;}#reset_wp_menu{background:#c77 none!important;color:white!important;text-shadow:0 1px 0 #555!important;}
</del><span class="cx">\ No newline at end of file
</span><ins>+.fix{clear:both;height:1px;margin:-1px 0 0;overflow:hidden;}.maintitle{margin:0 0 20px 0!important;}.logo{vertical-align:middle;margin:0 10px 0 0;}#pages-left{min-width:650px;max-width:1100px;width:100%;float:left;clear:left;margin-right:-315px;}#pages-left .inside{margin-top:20px;margin-right:315px;}#nav-container{margin-top:-3px;}.sidebar-name{background-color:#AAA;background-image:url(../images/ed-bg.gif);border-color:#DFDFDF;text-shadow:0 1px 0 #FFF;-moz-border-radius-topleft:8px;-moz-border-radius-topright:8px;background-position:0 0;background-repeat:repeat-x;border-style:solid;border-width:1px;cursor:pointer;font-size:13px;}.sidebar-name h3{font-size:13px;height:19px;margin:0;overflow:hidden;padding:5px 12px;white-space:nowrap;}.sidebar-name-arrow{background:transparent url(../images/menu-bits.gif) no-repeat scroll left -109px;float:right;height:29px;width:26px;}#menu-right{width:285px;margin-top:20px;margin-right:10px;margin-left:20px;float:left;clear:right;}h2.heading{margin:32px 0 10px 0;}.widgets-holder-wrap{margin:0 0 20px 0;}.widget-holder{padding:15px 10px;-moz-border-radius-bottomleft:8px;-moz-border-radius-bottomright:8px;border-style:none solid solid;border-width:0 1px 1px;background-color:#F1F1F1;border-color:#DDD;}.checkboxes{float:right;margin:10px 12px 0 0;}.addtomenu{display:block;float:right;margin:10px 0 0 0;text-shadow:0 -1px 0 rgba(0,0,0,0.3);background:#21759B url(../images/button-grad.png) repeat-x scroll left top;border-color:#298CBA!important;color:#FFF!important;font-weight:bold;-moz-border-radius-bottomleft:11px;-moz-border-radius-bottomright:11px;-moz-border-radius-topleft:11px;-moz-border-radius-topright:11px;border-style:solid;border-width:1px;cursor:pointer;font-size:11px!important;line-height:16px;padding:2px 8px;text-decoration:none;}.list{zoom:1;}.list li{margin:0;}.list dt{display:none;float:left;width:260px;margin:0;padding:0 0 0 5px;line-height:30px;border-bottom:1px solid #e3e3e3;}.list dt span{float:left;}.list dt img{cursor:pointer;float:right;margin:7px 5px 0 0;}#nav-container{padding:0 10px 10px 10px;background-color:#fff;border:1px solid #DFDFDF;border-top:none;-moz-border-radius-bottomleft:8px;-moz-border-radius-bottomright:8px;}#custom-nav ul{width:100%;}#custom-nav li{margin:0;}.ui-draggable-dragging{width:500px;}#custom-nav li dl dt{-webkit-border-bottom-left-radius:6px;-webkit-border-bottom-right-radius:6px;-webkit-border-top-left-radius:6px;-webkit-border-top-right-radius:6px;border-bottom-left-radius:6px;border-bottom-right-radius:6px;border-top-left-radius:6px;border-top-right-radius:6px;-moz-border-radius-bottomleft:6px;-moz-border-radius-bottomright:6px;-moz-border-radius-topleft:6px;-moz-border-radius-topright:6px;border:1px solid #E6E6E6;position:relative;padding-left:10px;background-color:#f1f1f1;height:35px;line-height:35px;}#custom-nav li dl dt:hover{cursor:move;}#custom-nav li dl dt .controls{position:absolute;right:15px;top:-1px;}#custom-nav li dl dt img{vertical-align:middle;}#custom-nav li .title{background:url(../images/ico-arrow.png) no-repeat 4px 5px;padding-left:15px;}#custom-nav li ul li{margin-left:20px;opacity:.7;}#custom-nav li ul li ul li{opacity:.9;}#custom-nav li ul li ul li ul li{opacity:.9;}#custom-nav li ul li ul li ul li ul li{opacity:.95;}#existing-pages li .title{background:url(../images/ico-arrow.png) no-repeat 4px 13px;padding-left:15px;}#existing-pages li ul li .title{margin-left:10px;}#existing-pages li ul li ul li .title{margin-left:20px;}#existing-pages li ul li ul li ul li .title{margin-left:30px;}#existing-pages li ul li ul li ul li ul li .title{margin-left:40px;}#existing-pages li ul li ul li ul li ul li ul li .title{margin-left:50px;}#existing-pages li ul li ul li ul li ul li ul li ul li .title{margin-left:60px;}#existing-pages li ul li ul li ul li ul li ul li ul li ul li .title{margin-left:70px;}#existing-pages li ul li ul li ul li ul li ul li ul li ul li ul li .title{margin-left:80px;}#existing-categories li .title{background:url(../images/ico-arrow.png) no-repeat 4px 13px;padding-left:15px;}#existing-categories li ul li .title{margin-left:10px;}#existing-categories li ul li ul li .title{margin-left:20px;}#existing-categories li ul li ul li ul li .title{margin-left:30px;}#existing-categories li ul li ul li ul li ul li .title{margin-left:40px;}#existing-categories li ul li ul li ul li ul li ul li .title{margin-left:50px;}#existing-categories li ul li ul li ul li ul li ul li ul li .title{margin-left:60px;}#existing-categories li ul li ul li ul li ul li ul li ul li ul li .title{margin-left:70px;}#existing-categories li ul li ul li ul li ul li ul li ul li ul li ul li .title{margin-left:80px;}img.remove,img.edit{cursor:pointer;margin:0 5px 0 0;}.dropzone{height:7px;margin:3px 0 3px 0;}.hide{display:none;}.type{text-transform:uppercase;font-size:11px;color:#999;padding-right:10px;}#menu_select{width:170px;}#dialog-confirm label{padding-left:10px;}.ui-dialog{background:#fff;border:1px solid #555;-moz-box-shadow:0 4px 30px #000;}.ui-dialog-titlebar{color:#CFCFCF;font-family:&quot;Lucida Grande&quot;,Verdana,Arial,sans-serif;padding:6px 10px 6px;background-color:#222!important;border:none!important;-moz-border-radius:none!important;}#dialog-confirm{height:168px!important;padding:20px 10px 10px;}#dialog-confirm input{margin:0 0 15px 0;width:280px;}#dialog-confirm select{margin:0 0 15px 0;}.ui-dialog-buttonpane{padding:10px;}.ui-dialog-buttonpane button{margin:0 10px 0 0;background:#F2F2F2;text-shadow:0 1px 0 #FFF;border-color:#BBB;color:#464646;-moz-border-radius-bottomleft:11px;-moz-border-radius-bottomright:11px;-moz-border-radius-topleft:11px;-moz-border-radius-topright:11px;border-style:solid;border-width:1px;cursor:pointer;font-size:11px!important;line-height:14px;padding:2px 8px;text-decoration:none;}.ui-dialog-buttonpane button:hover{color:#000;border-color:#666;}.ui-icon{display:none;}.ui-widget-overlay{position:absolute;top:0;left:0;width:100%;height:100%;}.ui-widget-overlay{background:#aaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;opacity:.60;filter:Alpha(Opacity=60);}.ui-widget-shadow{margin:-8px 0 0 -8px;padding:8px;background:#aaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;opacity:.60;filter:Alpha(Opacity=60);-moz-border-radius:8px;-webkit-border-radius:8px;}#reset_wp_menu{background:#c77 none!important;color:white!important;text-shadow:0 1px 0 #555!important;}
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpadmincsscustomnavigationdevcss"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/css/custom-navigation.dev.css (13371 => 13372)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/css/custom-navigation.dev.css        2010-02-24 10:20:45 UTC (rev 13371)
+++ trunk/wp-admin/css/custom-navigation.dev.css        2010-02-24 10:37:00 UTC (rev 13372)
</span><span class="lines">@@ -48,7 +48,7 @@
</span><span class="cx"> width:26px;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-#menu-right { width: 285px; margin-right: 10px; margin-left: 20px; float:left; clear: right;}
</del><ins>+#menu-right { width: 285px; margin-top: 20px; margin-right: 10px; margin-left: 20px; float:left; clear: right;}
</ins><span class="cx"> h2.heading  { margin: 32px 0 10px 0; }
</span><span class="cx"> 
</span><span class="cx"> .widgets-holder-wrap  { margin: 0 0 20px 0; }
</span></span></pre></div>
<a id="trunkwpadminjscustomnavigationdefaultitemsdevjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/js/custom-navigation-default-items.dev.js (13371 => 13372)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/js/custom-navigation-default-items.dev.js        2010-02-24 10:20:45 UTC (rev 13371)
+++ trunk/wp-admin/js/custom-navigation-default-items.dev.js        2010-02-24 10:37:00 UTC (rev 13372)
</span><span class="lines">@@ -49,7 +49,7 @@
</span><span class="cx">                         }
</span><span class="cx">                 });
</span><span class="cx"> 
</span><del>-                $('#message').animate({ opacity: 1.0 },2000).fadeOut(300, function(){ $(this).remove();});
</del><ins>+                // $('#message').animate({ opacity: 1.0 },2000).fadeOut(300, function(){ $(this).remove();});
</ins><span class="cx"> 
</span><span class="cx">                 //Add dropzone
</span><span class="cx">             $('#custom-nav li').prepend('&lt;div class=&quot;dropzone&quot;&gt;&lt;/div&gt;');
</span></span></pre></div>
<a id="trunkwpadminjscustomnavigationdefaultitemsjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/js/custom-navigation-default-items.js (13371 => 13372)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/js/custom-navigation-default-items.js        2010-02-24 10:20:45 UTC (rev 13371)
+++ trunk/wp-admin/js/custom-navigation-default-items.js        2010-02-24 10:37:00 UTC (rev 13372)
</span><span class="lines">@@ -1 +1 @@
</span><del>-jQuery(function(a){a(&quot;#dialog-confirm&quot;).dialog({autoOpen:false,resizable:false,height:210,width:400,modal:true,buttons:{Save:function(){titletosave=a(&quot;#edittitle&quot;).attr(&quot;value&quot;);linktosave=a(&quot;#editlink&quot;).attr(&quot;value&quot;);anchortitletosave=a(&quot;#editanchortitle&quot;).attr(&quot;value&quot;);newwindowtosave=a(&quot;#editnewwindow&quot;).attr(&quot;value&quot;);desctosave=a(&quot;#editdescription&quot;).attr(&quot;value&quot;);a(&quot;#title&quot;+a(this).dialog(&quot;option&quot;,&quot;itemID&quot;)).attr(&quot;value&quot;,titletosave);a(&quot;#linkurl&quot;+a(this).dialog(&quot;option&quot;,&quot;itemID&quot;)).attr(&quot;value&quot;,linktosave);a(&quot;#anchortitle&quot;+a(this).dialog(&quot;option&quot;,&quot;itemID&quot;)).attr(&quot;value&quot;,anchortitletosave);a(&quot;#newwindow&quot;+a(this).dialog(&quot;option&quot;,&quot;itemID&quot;)).attr(&quot;value&quot;,newwindowtosave);a(&quot;#description&quot;+a(this).dialog(&quot;option&quot;,&quot;itemID&quot;)).attr(&quot;value&quot;,desctosave);a(&quot;#menu-&quot;+a(this).dialog(&quot;option&quot;,&quot;itemID&quot;)+&quot; &gt; dl &gt; dt &gt; span.title&quot;).text(titletosave);a(&quot;#view&quot;+ +a(this).dialog(&quot;option&quot;,&quot;itemID&quot;)).attr(&quot;href&quot;,linktosave);a(this).dialog(&quot;close&quot;)},Cancel:function(){a(this).dialog(&quot;close&quot;)}}});a(&quot;#message&quot;).animate({opacity:1},2000).fadeOut(300,function(){a(this).remove()});a(&quot;#custom-nav li&quot;).prepend('&lt;div class=&quot;dropzone&quot;&gt;&lt;/div&gt;');a(&quot;#custom-nav li&quot;).draggable({handle:&quot; &gt; dl&quot;,opacity:0.8,addClasses:false,helper:&quot;clone&quot;,zIndex:100});a(&quot;#custom-nav dl, #custom-nav .dropzone&quot;).droppable({accept:&quot;#custom-nav li&quot;,tolerance:&quot;pointer&quot;,drop:function(g,f){var b=a(this).parent();var h=!a(this).hasClass(&quot;dropzone&quot;);if(h&amp;&amp;b.children(&quot;ul&quot;).length==0){b.append('&lt;ul id=&quot;sub-menu&quot; /&gt;')}if(h){b.children(&quot;ul&quot;).append(f.draggable)}else{b.before(f.draggable)}b.find(&quot;dl,.dropzone&quot;).css({backgroundColor:&quot;&quot;,borderColor:&quot;&quot;});var d=f.draggable.attr(&quot;value&quot;);var c=b.attr(&quot;value&quot;);b.find(&quot;#menu-&quot;+d).find(&quot;#parent&quot;+d).val(c);a(this).parent().find(&quot;dt&quot;).removeAttr(&quot;style&quot;);a(this).parent().find(&quot;div:first&quot;).removeAttr(&quot;style&quot;)},over:function(){if(a(this).attr(&quot;class&quot;)==&quot;dropzone ui-droppable&quot;){a(this).parent().find(&quot;div:first&quot;).css(&quot;background&quot;,&quot;none&quot;).css(&quot;height&quot;,&quot;50px&quot;)}else{if(a(this).attr(&quot;class&quot;)==&quot;ui-droppable&quot;){a(this).parent().find(&quot;dt:first&quot;).css(&quot;background&quot;,&quot;#d8d8d8&quot;)}else{}}var b=a(this).parent().attr(&quot;id&quot;)},out:function(){a(this).parent().find(&quot;dt&quot;).removeAttr(&quot;style&quot;);a(this).parent().find(&quot;div:first&quot;).removeAttr(&quot;style&quot;);a(this).filter(&quot;.dropzone&quot;).css({borderColor:&quot;&quot;})},deactivate:function(){}});a(&quot;#save_top&quot;).click(function(){updatepostdata()});a(&quot;#save_bottom&quot;).click(function(){updatepostdata()})});
</del><span class="cx">\ No newline at end of file
</span><ins>+jQuery(function($){$(&quot;#dialog-confirm&quot;).dialog({autoOpen:false,resizable:false,height:210,width:400,modal:true,buttons:{Save:function(){titletosave=$(&quot;#edittitle&quot;).attr(&quot;value&quot;);linktosave=$(&quot;#editlink&quot;).attr(&quot;value&quot;);anchortitletosave=$(&quot;#editanchortitle&quot;).attr(&quot;value&quot;);newwindowtosave=$(&quot;#editnewwindow&quot;).attr(&quot;value&quot;);desctosave=$(&quot;#editdescription&quot;).attr(&quot;value&quot;);$(&quot;#title&quot;+$(this).dialog(&quot;option&quot;,&quot;itemID&quot;)).attr(&quot;value&quot;,titletosave);$(&quot;#linkurl&quot;+$(this).dialog(&quot;option&quot;,&quot;itemID&quot;)).attr(&quot;value&quot;,linktosave);$(&quot;#anchortitle&quot;+$(this).dialog(&quot;option&quot;,&quot;itemID&quot;)).attr(&quot;value&quot;,anchortitletosave);$(&quot;#newwindow&quot;+$(this).dialog(&quot;option&quot;,&quot;itemID&quot;)).attr(&quot;value&quot;,newwindowtosave);$(&quot;#description&quot;+$(this).dialog(&quot;option&quot;,&quot;itemID&quot;)).attr(&quot;value&quot;,desctosave);$(&quot;#menu-&quot;+$(this).dialog(&quot;option&quot;,&quot;itemID&quot;)+&quot; &gt; dl &gt; dt &gt; span.title&quot;).text(titletosave);$(&quot;#view&quot;+ +$(this).dialog(&quot;option&quot;,&quot;itemID&quot;)).attr(&quot;href&quot;,linktosave);$(this).dialog(&quot;close&quot;)},Cancel:function(){$(this).dialog(&quot;close&quot;)}}});$(&quot;#custom-nav li&quot;).prepend('&lt;div class=&quot;dropzone&quot;&gt;&lt;/div&gt;');$(&quot;#custom-nav li&quot;).draggable({handle:&quot; &gt; dl&quot;,opacity:0.8,addClasses:false,helper:&quot;clone&quot;,zIndex:100});$(&quot;#custom-nav dl, #custom-nav .dropzone&quot;).droppable({accept:&quot;#custom-nav li&quot;,tolerance:&quot;pointer&quot;,drop:function(e,ui){var li=$(this).parent();var child=!$(this).hasClass(&quot;dropzone&quot;);if(child&amp;&amp;li.children(&quot;ul&quot;).length==0){li.append('&lt;ul id=&quot;sub-menu&quot; /&gt;')}if(child){li.children(&quot;ul&quot;).append(ui.draggable)}else{li.before(ui.draggable)}li.find(&quot;dl,.dropzone&quot;).css({backgroundColor:&quot;&quot;,borderColor:&quot;&quot;});var draggablevalue=ui.draggable.attr(&quot;value&quot;);var droppablevalue=li.attr(&quot;value&quot;);li.find(&quot;#menu-&quot;+draggablevalue).find(&quot;#parent&quot;+draggablevalue).val(droppablevalue);$(this).parent().find(&quot;dt&quot;).removeAttr(&quot;style&quot;);$(this).parent().find(&quot;div:first&quot;).removeAttr(&quot;style&quot;)},over:function(){if($(this).attr(&quot;class&quot;)==&quot;dropzone ui-droppable&quot;){$(this).parent().find(&quot;div:first&quot;).css(&quot;background&quot;,&quot;none&quot;).css(&quot;height&quot;,&quot;50px&quot;)}else{if($(this).attr(&quot;class&quot;)==&quot;ui-droppable&quot;){$(this).parent().find(&quot;dt:first&quot;).css(&quot;background&quot;,&quot;#d8d8d8&quot;)}else{}}var parentid=$(this).parent().attr(&quot;id&quot;)},out:function(){$(this).parent().find(&quot;dt&quot;).removeAttr(&quot;style&quot;);$(this).parent().find(&quot;div:first&quot;).removeAttr(&quot;style&quot;);$(this).filter(&quot;.dropzone&quot;).css({borderColor:&quot;&quot;})},deactivate:function(){}});$(&quot;#save_top&quot;).click(function(){updatepostdata()});$(&quot;#save_bottom&quot;).click(function(){updatepostdata()})});
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpadminnavmenusphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/nav-menus.php (13371 => 13372)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/nav-menus.php        2010-02-24 10:20:45 UTC (rev 13371)
+++ trunk/wp-admin/nav-menus.php        2010-02-24 10:37:00 UTC (rev 13372)
</span><span class="lines">@@ -153,10 +153,8 @@
</span><span class="cx"> ?&gt;
</span><span class="cx"> &lt;div class=&quot;wrap&quot;&gt;
</span><span class="cx"> &lt;?php screen_icon(); ?&gt;
</span><del>-&lt;h2 class=&quot;maintitle&quot;&gt;&lt;?php esc_html_e('Menus') ?&gt;&lt;/h2&gt;
-        &lt;div class=&quot;hide-if-js error&quot;&gt;&lt;p&gt;&lt;?php _e('You do not have JavaScript enabled in your browser. Please enable it to access the Menus functionality.'); ?&gt;&lt;/p&gt;&lt;/div&gt;
-        &lt;div class=&quot;hide-if-no-js&quot;&gt;
-        &lt;div id=&quot;pages-left&quot;&gt;
</del><ins>+&lt;h2&gt;&lt;?php esc_html_e('Menus') ?&gt;&lt;/h2&gt;
+        &lt;form onsubmit=&quot;updatepostdata()&quot; action=&quot;&lt;?php echo admin_url( 'nav-menus.php' ); ?&gt;&quot; method=&quot;post&quot; enctype=&quot;multipart/form-data&quot;&gt;
</ins><span class="cx">         &lt;?php if ( ! empty( $custom_menus ) &amp;&amp; count( $custom_menus ) &gt; 1 ) { ?&gt;
</span><span class="cx">                 &lt;ul class=&quot;subsubsub&quot;&gt;
</span><span class="cx"> &lt;?php
</span><span class="lines">@@ -164,16 +162,19 @@
</span><span class="cx">                                         $sep = end($custom_menus) == $menu ? '' : ' | ';
</span><span class="cx">                                         // $menu_term = get_term( $menu, 'nav_menu' );
</span><span class="cx">                                         if ( ( $menu_id_in_edit == $menu-&gt;term_id ) || ( $menu_selected_id == $menu-&gt;term_id ) ) { ?&gt;
</span><del>-                                                &lt;li&gt;&lt;?php echo esc_html( $menu-&gt;name ) . $sep; ?&gt;&lt;/li&gt;
</del><ins>+                                                &lt;li&gt;&lt;a href='nav-menus.php?edit_menu=&lt;?php echo esc_attr($menu-&gt;term_id); ?&gt;' class=&quot;current&quot;&gt;&lt;?php echo esc_html( $menu-&gt;name ); ?&gt;&lt;/a&gt;&lt;?php echo $sep; ?&gt;&lt;/li&gt;
</ins><span class="cx"> &lt;?php                                } else { ?&gt;
</span><del>-                        &lt;li&gt;&lt;a href='nav-menus.php?edit_menu=&lt;?php echo esc_attr($menu-&gt;term_id); ?&gt;'&gt;&lt;?php echo esc_html( $menu-&gt;name ); ?&gt;&lt;/a&gt;&lt;?php echo $sep; ?&gt;&lt;/li&gt;
</del><ins>+                                                &lt;li&gt;&lt;a href='nav-menus.php?edit_menu=&lt;?php echo esc_attr($menu-&gt;term_id); ?&gt;'&gt;&lt;?php echo esc_html( $menu-&gt;name ); ?&gt;&lt;/a&gt;&lt;?php echo $sep; ?&gt;&lt;/li&gt;
</ins><span class="cx"> &lt;?php                                }
</span><span class="cx">                                 }
</span><span class="cx"> ?&gt;
</span><span class="cx">                 &lt;/ul&gt;
</span><span class="cx">                 &lt;div class=&quot;clear&quot;&gt;&lt;/div&gt;
</span><span class="cx"> &lt;?php } ?&gt;
</span><del>-                &lt;form onsubmit=&quot;updatepostdata()&quot; action=&quot;&lt;?php echo admin_url( 'nav-menus.php' ); ?&gt;&quot; method=&quot;post&quot; enctype=&quot;multipart/form-data&quot;&gt;
</del><ins>+
+        &lt;div class=&quot;hide-if-js error&quot;&gt;&lt;p&gt;&lt;?php _e('You do not have JavaScript enabled in your browser. Please enable it to access the Menus functionality.'); ?&gt;&lt;/p&gt;&lt;/div&gt;
+        &lt;div class=&quot;hide-if-no-js&quot;&gt;
+        &lt;div id=&quot;pages-left&quot;&gt;
</ins><span class="cx">                 &lt;div class=&quot;inside&quot;&gt;
</span><span class="cx">                 &lt;?php if ( ! empty( $custom_menus ) ) : ?&gt;
</span><span class="cx">                 &lt;?php echo $messagesdiv; ?&gt;
</span></span></pre></div>
<a id="trunkwpincludesscriptloaderphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/script-loader.php (13371 => 13372)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/script-loader.php        2010-02-24 10:20:45 UTC (rev 13371)
+++ trunk/wp-includes/script-loader.php        2010-02-24 10:37:00 UTC (rev 13372)
</span><span class="lines">@@ -397,7 +397,7 @@
</span><span class="cx">                 ) );
</span><span class="cx"> 
</span><span class="cx">                 // Custom Navigation
</span><del>-                $scripts-&gt;add( 'custom-navigation-default-items', &quot;/wp-admin/js/custom-navigation-default-items$suffix.js&quot;, false, '20100220' );
</del><ins>+                $scripts-&gt;add( 'custom-navigation-default-items', &quot;/wp-admin/js/custom-navigation-default-items$suffix.js&quot;, false, '20100223' );
</ins><span class="cx">                 $scripts-&gt;add( 'custom-navigation-dynamic-functions', &quot;/wp-admin/js/custom-navigation-dynamic-functions$suffix.js&quot;, false, '20100220' );
</span><span class="cx">                 $scripts-&gt;add( 'custom-navigation-php-functions', &quot;/wp-admin/js/custom-navigation-php-functions$suffix.js&quot;, false, '20100220' );
</span><span class="cx">         }
</span><span class="lines">@@ -468,7 +468,7 @@
</span><span class="cx">         $styles-&gt;add( 'farbtastic', '/wp-admin/css/farbtastic.css', array(), '1.2' );
</span><span class="cx">         $styles-&gt;add( 'jcrop', '/wp-includes/js/jcrop/jquery.Jcrop.css', array(), '0.9.8' );
</span><span class="cx">         $styles-&gt;add( 'imgareaselect', '/wp-includes/js/imgareaselect/imgareaselect.css', array(), '0.9.1' );
</span><del>-        $styles-&gt;add( 'custom-navigation', &quot;/wp-admin/css/custom-navigation$suffix.css&quot;, array(), '20100215' );
</del><ins>+        $styles-&gt;add( 'custom-navigation', &quot;/wp-admin/css/custom-navigation$suffix.css&quot;, array(), '20100223' );
</ins><span class="cx"> 
</span><span class="cx">         foreach ( $rtl_styles as $rtl_style ) {
</span><span class="cx">                 $styles-&gt;add_data( $rtl_style, 'rtl', true );
</span></span></pre>
</div>
</div>

</body>
</html>