<!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" />
<title>[19505] trunk: When tabbing: on Enter open the current submenu and close other submenus if open, see #19394</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { 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 #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg > ul, #logmsg > ol { margin-left: 0; margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#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>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://core.trac.wordpress.org/changeset/19505">19505</a></dd>
<dt>Author</dt> <dd>azaozz</dd>
<dt>Date</dt> <dd>2011-12-01 00:43:18 +0000 (Thu, 01 Dec 2011)</dd>
</dl>

<h3>Log Message</h3>
<pre>When tabbing: on Enter open the current submenu and close other submenus if open, see <a href="http://core.trac.wordpress.org/ticket/19394">#19394</a></pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpadminjscommondevjs">trunk/wp-admin/js/common.dev.js</a></li>
<li><a href="#trunkwpadminjscommonjs">trunk/wp-admin/js/common.js</a></li>
<li><a href="#trunkwpincludesjsadminbardevjs">trunk/wp-includes/js/admin-bar.dev.js</a></li>
<li><a href="#trunkwpincludesjsadminbarjs">trunk/wp-includes/js/admin-bar.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="trunkwpadminjscommondevjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/js/common.dev.js (19504 => 19505)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/js/common.dev.js        2011-12-01 00:36:19 UTC (rev 19504)
+++ trunk/wp-admin/js/common.dev.js        2011-12-01 00:43:18 UTC (rev 19505)
</span><span class="lines">@@ -229,6 +229,7 @@
</span><span class="cx">                 e.stopPropagation();
</span><span class="cx">                 e.preventDefault();
</span><span class="cx"> 
</span><ins>+                menu.find('.wp-submenu').removeClass('sub-open');
</ins><span class="cx">                 target.siblings('.wp-submenu').toggleClass('sub-open').find('a[role=&quot;menuitem&quot;]').each(refresh);
</span><span class="cx">         }).each(refresh);
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkwpadminjscommonjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/js/common.js (19504 => 19505)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/js/common.js        2011-12-01 00:36:19 UTC (rev 19504)
+++ trunk/wp-admin/js/common.js        2011-12-01 00:43:18 UTC (rev 19505)
</span><span class="lines">@@ -1 +1 @@
</span><del>-var showNotice,adminMenu,columns,validateForm,screenMeta,autofold_menu;(function(a){adminMenu={init:function(){},fold:function(){},restoreMenuState:function(){},toggle:function(){},favorites:function(){}};columns={init:function(){var b=this;a(&quot;.hide-column-tog&quot;,&quot;#adv-settings&quot;).click(function(){var d=a(this),c=d.val();if(d.prop(&quot;checked&quot;)){b.checked(c)}else{b.unchecked(c)}columns.saveManageColumnsState()})},saveManageColumnsState:function(){var b=this.hidden();a.post(ajaxurl,{action:&quot;hidden-columns&quot;,hidden:b,screenoptionnonce:a(&quot;#screenoptionnonce&quot;).val(),page:pagenow})},checked:function(b){a(&quot;.column-&quot;+b).show();this.colSpanChange(+1)},unchecked:function(b){a(&quot;.column-&quot;+b).hide();this.colSpanChange(-1)},hidden:function(){return a(&quot;.manage-column&quot;).filter(&quot;:hidden&quot;).map(function(){return this.id}).get().join(&quot;,&quot;)},useCheckboxesForHidden:function(){this.hidden=funct
 ion(){return a(&quot;.hide-column-tog&quot;).not(&quot;:checked&quot;).map(function(){var b=this.id;return b.substring(b,b.length-5)}).get().join(&quot;,&quot;)}},colSpanChange:function(b){var d=a(&quot;table&quot;).find(&quot;.colspanchange&quot;),c;if(!d.length){return}c=parseInt(d.attr(&quot;colspan&quot;),10)+b;d.attr(&quot;colspan&quot;,c.toString())}};a(document).ready(function(){columns.init()});validateForm=function(b){return !a(b).find(&quot;.form-required&quot;).filter(function(){return a(&quot;input:visible&quot;,this).val()==&quot;&quot;}).addClass(&quot;form-invalid&quot;).find(&quot;input:visible&quot;).change(function(){a(this).closest(&quot;.form-invalid&quot;).removeClass(&quot;form-invalid&quot;)}).size()};showNotice={warn:function(){var b=commonL10n.warnDelete||&quot;&quot;;if(confirm(b)){return true}return false},note:function(b){alert(b)}};screenMeta={element:null,toggles:null,page:null,init:function(){this.element=a(&quot;#screen-meta&quot;);this.toggle
 s=a(&quot;.screen-meta-toggle a&quot;);this.page=a(&quot;#wpcontent&quot;);this.toggles.click(this.toggleEvent)},toggleEvent:function(c){var b=a(this.href.replace(/.+#/,&quot;#&quot;));c.preventDefault();if(!b.length){return}if(b.is(&quot;:visible&quot;)){screenMeta.close(b,a(this))}else{screenMeta.open(b,a(this))}},open:function(b,c){a(&quot;.screen-meta-toggle&quot;).not(c.parent()).css(&quot;visibility&quot;,&quot;hidden&quot;);b.parent().show();b.slideDown(&quot;fast&quot;,function(){c.addClass(&quot;screen-meta-active&quot;)})},close:function(b,c){b.slideUp(&quot;fast&quot;,function(){c.removeClass(&quot;screen-meta-active&quot;);a(&quot;.screen-meta-toggle&quot;).css(&quot;visibility&quot;,&quot;&quot;);b.parent().hide()})}};a(&quot;.contextual-help-tabs&quot;).delegate(&quot;a&quot;,&quot;click focus&quot;,function(d){var c=a(this),b;d.preventDefault();if(c.is(&quot;.active a&quot;)){return false}a(&quot;.contextual-help-tabs .active&quot;).removeClass(&quot;active&qu
 ot;);c.parent(&quot;li&quot;).addClass(&quot;active&quot;);b=a(c.attr(&quot;href&quot;));a(&quot;.help-tab-content&quot;).not(b).removeClass(&quot;active&quot;).hide();b.addClass(&quot;active&quot;).show()});a(document).ready(function(){var j=false,c,e,k,i,b=a(&quot;#adminmenu&quot;),d=a(&quot;input.current-page&quot;),f=d.val(),h,g;g=function(l,n){var o=a(n),m=o.attr(&quot;tabindex&quot;);if(m){o.attr(&quot;tabindex&quot;,&quot;0&quot;).attr(&quot;tabindex&quot;,m)}};a(&quot;#collapse-menu&quot;,b).click(function(){var l=a(document.body);if(l.hasClass(&quot;folded&quot;)){l.removeClass(&quot;folded&quot;);setUserSetting(&quot;mfold&quot;,&quot;o&quot;)}else{l.addClass(&quot;folded&quot;);setUserSetting(&quot;mfold&quot;,&quot;f&quot;)}return false});a(&quot;li.wp-has-submenu&quot;,b).hoverIntent({over:function(t){var u,r,l,s,n=a(this).find(&quot;.wp-submenu&quot;),v,p,q;if(!a(document.body).hasClass(&quot;folded&quot;)&amp;&amp;a(this).hasClass(&quot;wp-menu-open&quot;)){re
 turn}v=a(this).offset().top;p=a(window).scrollTop();q=v-p-30;u=v+n.height()+1;r=a(&quot;#wpwrap&quot;).height();l=60+u-r;s=a(window).height()+p-15;if(s&lt;(u-l)){l=u-s}if(l&gt;q){l=q}if(l&gt;1){n.css({marginTop:&quot;-&quot;+l+&quot;px&quot;})}else{if(n.css(&quot;marginTop&quot;)){n.css({marginTop:&quot;&quot;})}}n.addClass(&quot;sub-open&quot;)},out:function(){a(this).find(&quot;.wp-submenu&quot;).removeClass(&quot;sub-open&quot;)},timeout:200,sensitivity:7,interval:90});a(&quot;li.wp-has-submenu &gt; a.wp-not-current-submenu&quot;,b).bind(&quot;keydown.adminmenu&quot;,function(m){if(m.which!=13){return}var l=a(m.target);m.stopPropagation();m.preventDefault();l.siblings(&quot;.wp-submenu&quot;).toggleClass(&quot;sub-open&quot;).find('a[role=&quot;menuitem&quot;]').each(g)}).each(g);a('a[role=&quot;menuitem&quot;]',b).bind(&quot;keydown.adminmenu&quot;,function(m){if(m.which!=27){return}var l=a(m.target);m.stopPropagation();m.preventDefault();l.add(l.siblings()).closest(&quo
 t;.sub-open&quot;).removeClass(&quot;sub-open&quot;).siblings(&quot;a.wp-not-current-submenu&quot;).focus()});a(&quot;div.wrap h2:first&quot;).nextAll(&quot;div.updated, div.error&quot;).addClass(&quot;below-h2&quot;);a(&quot;div.updated, div.error&quot;).not(&quot;.below-h2, .inline&quot;).insertAfter(a(&quot;div.wrap h2:first&quot;));screenMeta.init();a(&quot;tbody&quot;).children().children(&quot;.check-column&quot;).find(&quot;:checkbox&quot;).click(function(l){if(&quot;undefined&quot;==l.shiftKey){return true}if(l.shiftKey){if(!j){return true}c=a(j).closest(&quot;form&quot;).find(&quot;:checkbox&quot;);e=c.index(j);k=c.index(this);i=a(this).prop(&quot;checked&quot;);if(0&lt;e&amp;&amp;0&lt;k&amp;&amp;e!=k){c.slice(e,k).prop(&quot;checked&quot;,function(){if(a(this).closest(&quot;tr&quot;).is(&quot;:visible&quot;)){return i}return false})}}j=this;return true});a(&quot;thead, tfoot&quot;).find(&quot;.check-column :checkbox&quot;).click(function(n){var o=a(this).prop(&quot
 ;checked&quot;),m=&quot;undefined&quot;==typeof toggleWithKeyboard?false:toggleWithKeyboard,l=n.shiftKey||m;a(this).closest(&quot;table&quot;).children(&quot;tbody&quot;).filter(&quot;:visible&quot;).children().children(&quot;.check-column&quot;).find(&quot;:checkbox&quot;).prop(&quot;checked&quot;,function(){if(a(this).closest(&quot;tr&quot;).is(&quot;:hidden&quot;)){return false}if(l){return a(this).prop(&quot;checked&quot;)}else{if(o){return true}}return false});a(this).closest(&quot;table&quot;).children(&quot;thead,  tfoot&quot;).filter(&quot;:visible&quot;).children().children(&quot;.check-column&quot;).find(&quot;:checkbox&quot;).prop(&quot;checked&quot;,function(){if(l){return false}else{if(o){return true}}return false})});a(&quot;#default-password-nag-no&quot;).click(function(){setUserSetting(&quot;default_password_nag&quot;,&quot;hide&quot;);a(&quot;div.default-password-nag&quot;).hide();return false});a(&quot;#newcontent&quot;).bind(&quot;keydown.wpevent_InsertTab
 &quot;,function(q){if(q.keyCode!=9){return true}var n=q.target,s=n.selectionStart,m=n.selectionEnd,r=n.value,l,p;try{this.lastKey=9}catch(o){}if(document.selection){n.focus();p=document.selection.createRange();p.text=&quot;\t&quot;}else{if(s&gt;=0){l=this.scrollTop;n.value=r.substring(0,s).concat(&quot;\t&quot;,r.substring(m));n.selectionStart=n.selectionEnd=s+1;this.scrollTop=l}}if(q.stopPropagation){q.stopPropagation()}if(q.preventDefault){q.preventDefault()}});a(&quot;#newcontent&quot;).bind(&quot;blur.wpevent_InsertTab&quot;,function(l){if(this.lastKey&amp;&amp;9==this.lastKey){this.focus()}});if(d.length){d.closest(&quot;form&quot;).submit(function(l){if(a('select[name=&quot;action&quot;]').val()==-1&amp;&amp;a('select[name=&quot;action2&quot;]').val()==-1&amp;&amp;d.val()==f){d.val(&quot;1&quot;)}})}a(window).bind(&quot;resize.autofold&quot;,function(){if(getUserSetting(&quot;mfold&quot;)==&quot;f&quot;){return}var l=a(window).width();if(l&lt;=800){if(!h){a(document.bo
 dy).addClass(&quot;folded&quot;);h=true}}else{if(h){a(document.body).removeClass(&quot;folded&quot;);h=false}}}).triggerHandler(&quot;resize&quot;)});a(document).bind(&quot;wp_CloseOnEscape&quot;,function(c,b){if(typeof(b.cb)!=&quot;function&quot;){return}if(typeof(b.condition)!=&quot;function&quot;||b.condition()){b.cb()}return true})})(jQuery);
</del><span class="cx">\ No newline at end of file
</span><ins>+var showNotice,adminMenu,columns,validateForm,screenMeta,autofold_menu;(function(a){adminMenu={init:function(){},fold:function(){},restoreMenuState:function(){},toggle:function(){},favorites:function(){}};columns={init:function(){var b=this;a(&quot;.hide-column-tog&quot;,&quot;#adv-settings&quot;).click(function(){var d=a(this),c=d.val();if(d.prop(&quot;checked&quot;)){b.checked(c)}else{b.unchecked(c)}columns.saveManageColumnsState()})},saveManageColumnsState:function(){var b=this.hidden();a.post(ajaxurl,{action:&quot;hidden-columns&quot;,hidden:b,screenoptionnonce:a(&quot;#screenoptionnonce&quot;).val(),page:pagenow})},checked:function(b){a(&quot;.column-&quot;+b).show();this.colSpanChange(+1)},unchecked:function(b){a(&quot;.column-&quot;+b).hide();this.colSpanChange(-1)},hidden:function(){return a(&quot;.manage-column&quot;).filter(&quot;:hidden&quot;).map(function(){return this.id}).get().join(&quot;,&quot;)},useCheckboxesForHidden:function(){this.hidden=funct
 ion(){return a(&quot;.hide-column-tog&quot;).not(&quot;:checked&quot;).map(function(){var b=this.id;return b.substring(b,b.length-5)}).get().join(&quot;,&quot;)}},colSpanChange:function(b){var d=a(&quot;table&quot;).find(&quot;.colspanchange&quot;),c;if(!d.length){return}c=parseInt(d.attr(&quot;colspan&quot;),10)+b;d.attr(&quot;colspan&quot;,c.toString())}};a(document).ready(function(){columns.init()});validateForm=function(b){return !a(b).find(&quot;.form-required&quot;).filter(function(){return a(&quot;input:visible&quot;,this).val()==&quot;&quot;}).addClass(&quot;form-invalid&quot;).find(&quot;input:visible&quot;).change(function(){a(this).closest(&quot;.form-invalid&quot;).removeClass(&quot;form-invalid&quot;)}).size()};showNotice={warn:function(){var b=commonL10n.warnDelete||&quot;&quot;;if(confirm(b)){return true}return false},note:function(b){alert(b)}};screenMeta={element:null,toggles:null,page:null,init:function(){this.element=a(&quot;#screen-meta&quot;);this.toggle
 s=a(&quot;.screen-meta-toggle a&quot;);this.page=a(&quot;#wpcontent&quot;);this.toggles.click(this.toggleEvent)},toggleEvent:function(c){var b=a(this.href.replace(/.+#/,&quot;#&quot;));c.preventDefault();if(!b.length){return}if(b.is(&quot;:visible&quot;)){screenMeta.close(b,a(this))}else{screenMeta.open(b,a(this))}},open:function(b,c){a(&quot;.screen-meta-toggle&quot;).not(c.parent()).css(&quot;visibility&quot;,&quot;hidden&quot;);b.parent().show();b.slideDown(&quot;fast&quot;,function(){c.addClass(&quot;screen-meta-active&quot;)})},close:function(b,c){b.slideUp(&quot;fast&quot;,function(){c.removeClass(&quot;screen-meta-active&quot;);a(&quot;.screen-meta-toggle&quot;).css(&quot;visibility&quot;,&quot;&quot;);b.parent().hide()})}};a(&quot;.contextual-help-tabs&quot;).delegate(&quot;a&quot;,&quot;click focus&quot;,function(d){var c=a(this),b;d.preventDefault();if(c.is(&quot;.active a&quot;)){return false}a(&quot;.contextual-help-tabs .active&quot;).removeClass(&quot;active&qu
 ot;);c.parent(&quot;li&quot;).addClass(&quot;active&quot;);b=a(c.attr(&quot;href&quot;));a(&quot;.help-tab-content&quot;).not(b).removeClass(&quot;active&quot;).hide();b.addClass(&quot;active&quot;).show()});a(document).ready(function(){var j=false,c,e,k,i,b=a(&quot;#adminmenu&quot;),d=a(&quot;input.current-page&quot;),f=d.val(),h,g;g=function(l,n){var o=a(n),m=o.attr(&quot;tabindex&quot;);if(m){o.attr(&quot;tabindex&quot;,&quot;0&quot;).attr(&quot;tabindex&quot;,m)}};a(&quot;#collapse-menu&quot;,b).click(function(){var l=a(document.body);if(l.hasClass(&quot;folded&quot;)){l.removeClass(&quot;folded&quot;);setUserSetting(&quot;mfold&quot;,&quot;o&quot;)}else{l.addClass(&quot;folded&quot;);setUserSetting(&quot;mfold&quot;,&quot;f&quot;)}return false});a(&quot;li.wp-has-submenu&quot;,b).hoverIntent({over:function(t){var u,r,l,s,n=a(this).find(&quot;.wp-submenu&quot;),v,p,q;if(!a(document.body).hasClass(&quot;folded&quot;)&amp;&amp;a(this).hasClass(&quot;wp-menu-open&quot;)){re
 turn}v=a(this).offset().top;p=a(window).scrollTop();q=v-p-30;u=v+n.height()+1;r=a(&quot;#wpwrap&quot;).height();l=60+u-r;s=a(window).height()+p-15;if(s&lt;(u-l)){l=u-s}if(l&gt;q){l=q}if(l&gt;1){n.css({marginTop:&quot;-&quot;+l+&quot;px&quot;})}else{if(n.css(&quot;marginTop&quot;)){n.css({marginTop:&quot;&quot;})}}n.addClass(&quot;sub-open&quot;)},out:function(){a(this).find(&quot;.wp-submenu&quot;).removeClass(&quot;sub-open&quot;)},timeout:200,sensitivity:7,interval:90});a(&quot;li.wp-has-submenu &gt; a.wp-not-current-submenu&quot;,b).bind(&quot;keydown.adminmenu&quot;,function(m){if(m.which!=13){return}var l=a(m.target);m.stopPropagation();m.preventDefault();b.find(&quot;.wp-submenu&quot;).removeClass(&quot;sub-open&quot;);l.siblings(&quot;.wp-submenu&quot;).toggleClass(&quot;sub-open&quot;).find('a[role=&quot;menuitem&quot;]').each(g)}).each(g);a('a[role=&quot;menuitem&quot;]',b).bind(&quot;keydown.adminmenu&quot;,function(m){if(m.which!=27){return}var l=a(m.target);m.sto
 pPropagation();m.preventDefault();l.add(l.siblings()).closest(&quot;.sub-open&quot;).removeClass(&quot;sub-open&quot;).siblings(&quot;a.wp-not-current-submenu&quot;).focus()});a(&quot;div.wrap h2:first&quot;).nextAll(&quot;div.updated, div.error&quot;).addClass(&quot;below-h2&quot;);a(&quot;div.updated, div.error&quot;).not(&quot;.below-h2, .inline&quot;).insertAfter(a(&quot;div.wrap h2:first&quot;));screenMeta.init();a(&quot;tbody&quot;).children().children(&quot;.check-column&quot;).find(&quot;:checkbox&quot;).click(function(l){if(&quot;undefined&quot;==l.shiftKey){return true}if(l.shiftKey){if(!j){return true}c=a(j).closest(&quot;form&quot;).find(&quot;:checkbox&quot;);e=c.index(j);k=c.index(this);i=a(this).prop(&quot;checked&quot;);if(0&lt;e&amp;&amp;0&lt;k&amp;&amp;e!=k){c.slice(e,k).prop(&quot;checked&quot;,function(){if(a(this).closest(&quot;tr&quot;).is(&quot;:visible&quot;)){return i}return false})}}j=this;return true});a(&quot;thead, tfoot&quot;).find(&quot;.check-
 column :checkbox&quot;).click(function(n){var o=a(this).prop(&quot;checked&quot;),m=&quot;undefined&quot;==typeof toggleWithKeyboard?false:toggleWithKeyboard,l=n.shiftKey||m;a(this).closest(&quot;table&quot;).children(&quot;tbody&quot;).filter(&quot;:visible&quot;).children().children(&quot;.check-column&quot;).find(&quot;:checkbox&quot;).prop(&quot;checked&quot;,function(){if(a(this).closest(&quot;tr&quot;).is(&quot;:hidden&quot;)){return false}if(l){return a(this).prop(&quot;checked&quot;)}else{if(o){return true}}return false});a(this).closest(&quot;table&quot;).children(&quot;thead,  tfoot&quot;).filter(&quot;:visible&quot;).children().children(&quot;.check-column&quot;).find(&quot;:checkbox&quot;).prop(&quot;checked&quot;,function(){if(l){return false}else{if(o){return true}}return false})});a(&quot;#default-password-nag-no&quot;).click(function(){setUserSetting(&quot;default_password_nag&quot;,&quot;hide&quot;);a(&quot;div.default-password-nag&quot;).hide();return false
 });a(&quot;#newcontent&quot;).bind(&quot;keydown.wpevent_InsertTab&quot;,function(q){if(q.keyCode!=9){return true}var n=q.target,s=n.selectionStart,m=n.selectionEnd,r=n.value,l,p;try{this.lastKey=9}catch(o){}if(document.selection){n.focus();p=document.selection.createRange();p.text=&quot;\t&quot;}else{if(s&gt;=0){l=this.scrollTop;n.value=r.substring(0,s).concat(&quot;\t&quot;,r.substring(m));n.selectionStart=n.selectionEnd=s+1;this.scrollTop=l}}if(q.stopPropagation){q.stopPropagation()}if(q.preventDefault){q.preventDefault()}});a(&quot;#newcontent&quot;).bind(&quot;blur.wpevent_InsertTab&quot;,function(l){if(this.lastKey&amp;&amp;9==this.lastKey){this.focus()}});if(d.length){d.closest(&quot;form&quot;).submit(function(l){if(a('select[name=&quot;action&quot;]').val()==-1&amp;&amp;a('select[name=&quot;action2&quot;]').val()==-1&amp;&amp;d.val()==f){d.val(&quot;1&quot;)}})}a(window).bind(&quot;resize.autofold&quot;,function(){if(getUserSetting(&quot;mfold&quot;)==&quot;f&quot;)
 {return}var l=a(window).width();if(l&lt;=800){if(!h){a(document.body).addClass(&quot;folded&quot;);h=true}}else{if(h){a(document.body).removeClass(&quot;folded&quot;);h=false}}}).triggerHandler(&quot;resize&quot;)});a(document).bind(&quot;wp_CloseOnEscape&quot;,function(c,b){if(typeof(b.cb)!=&quot;function&quot;){return}if(typeof(b.condition)!=&quot;function&quot;||b.condition()){b.cb()}return true})})(jQuery);
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludesjsadminbardevjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/admin-bar.dev.js (19504 => 19505)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/admin-bar.dev.js        2011-12-01 00:36:19 UTC (rev 19504)
+++ trunk/wp-includes/js/admin-bar.dev.js        2011-12-01 00:43:18 UTC (rev 19505)
</span><span class="lines">@@ -33,12 +33,13 @@
</span><span class="cx">                         if ( e.which != 13 )
</span><span class="cx">                                 return;
</span><span class="cx"> 
</span><del>-                        var target = $(e.target);
</del><ins>+                        var target = $(e.target), parent = target.parent();
</ins><span class="cx"> 
</span><span class="cx">                         e.stopPropagation();
</span><span class="cx">                         e.preventDefault();
</span><span class="cx"> 
</span><del>-                        target.parent().toggleClass('hover');
</del><ins>+                        parent.siblings('.menupop').removeClass('hover');
+                        parent.toggleClass('hover');
</ins><span class="cx">                         target.siblings('.ab-sub-wrapper').find('.ab-item').each(refresh);
</span><span class="cx">                 }).each(refresh);
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkwpincludesjsadminbarjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/admin-bar.js (19504 => 19505)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/admin-bar.js        2011-12-01 00:36:19 UTC (rev 19504)
+++ trunk/wp-includes/js/admin-bar.js        2011-12-01 00:43:18 UTC (rev 19505)
</span><span class="lines">@@ -1 +1 @@
</span><del>-if(typeof(jQuery)!=&quot;undefined&quot;){if(typeof(jQuery.fn.hoverIntent)==&quot;undefined&quot;){(function(b){b.fn.hoverIntent=function(p,r){var g={sensitivity:7,interval:100,timeout:0};g=b.extend(g,r?{over:p,out:r}:p);var a,f,t,v;var u=function(c){a=c.pageX;f=c.pageY};var w=function(c,d){d.hoverIntent_t=clearTimeout(d.hoverIntent_t);if((Math.abs(t-a)+Math.abs(v-f))&lt;g.sensitivity){b(d).unbind(&quot;mousemove&quot;,u);d.hoverIntent_s=1;return g.over.apply(d,[c])}else{t=a;v=f;d.hoverIntent_t=setTimeout(function(){w(c,d)},g.interval)}};var s=function(c,d){d.hoverIntent_t=clearTimeout(d.hoverIntent_t);d.hoverIntent_s=0;return g.out.apply(d,[c])};var x=function(e){var d=this;var c=(e.type==&quot;mouseover&quot;?e.fromElement:e.toElement)||e.relatedTarget;while(c&amp;&amp;c!=this){try{c=c.parentNode}catch(e){c=this}}if(c==this){if(b.browser.mozilla){if(e.type==&quot;mouseout&quot;){d.mtout=setTimeout(function(){q(e,d)},30)}else{if(d.mtout){d.mtout=clearTimeout(d.m
 tout)}}}return}else{if(d.mtout){d.mtout=clearTimeout(d.mtout)}q(e,d)}};var q=function(e,d){var c=jQuery.extend({},e);if(d.hoverIntent_t){d.hoverIntent_t=clearTimeout(d.hoverIntent_t)}if(e.type==&quot;mouseover&quot;){t=c.pageX;v=c.pageY;b(d).bind(&quot;mousemove&quot;,u);if(d.hoverIntent_s!=1){d.hoverIntent_t=setTimeout(function(){w(c,d)},g.interval)}}else{b(d).unbind(&quot;mousemove&quot;,u);if(d.hoverIntent_s==1){d.hoverIntent_t=setTimeout(function(){s(c,d)},g.timeout)}}};return this.mouseover(x).mouseout(x)}})(jQuery)}jQuery(document).ready(function(b){var a=function(c,e){var f=b(e),d=f.attr(&quot;tabindex&quot;);if(d){f.attr(&quot;tabindex&quot;,&quot;0&quot;).attr(&quot;tabindex&quot;,d)}};b(&quot;#wpadminbar&quot;).removeClass(&quot;nojq&quot;).removeClass(&quot;nojs&quot;).find(&quot;li.menupop&quot;).hoverIntent({over:function(c){b(this).addClass(&quot;hover&quot;)},out:function(c){b(this).removeClass(&quot;hover&quot;)},timeout:180,sensitivity:7,interval:100});b(&qu
 ot;#wp-admin-bar-get-shortlink&quot;).click(function(c){c.preventDefault();b(this).addClass(&quot;selected&quot;).children(&quot;.shortlink-input&quot;).blur(function(){b(this).parents(&quot;#wp-admin-bar-get-shortlink&quot;).removeClass(&quot;selected&quot;)}).focus().select()});b(&quot;#wpadminbar li.menupop &gt; .ab-item&quot;).bind(&quot;keydown.adminbar&quot;,function(d){if(d.which!=13){return}var c=b(d.target);d.stopPropagation();d.preventDefault();c.parent().toggleClass(&quot;hover&quot;);c.siblings(&quot;.ab-sub-wrapper&quot;).find(&quot;.ab-item&quot;).each(a)}).each(a);b(&quot;#wpadminbar .ab-item&quot;).bind(&quot;keydown.adminbar&quot;,function(d){if(d.which!=27){return}var c=b(d.target);d.stopPropagation();d.preventDefault();c.closest(&quot;.hover&quot;).removeClass(&quot;hover&quot;).children(&quot;.ab-item&quot;).focus();c.siblings(&quot;.ab-sub-wrapper&quot;).find(&quot;.ab-item&quot;).each(a)})})}else{(function(i,k){var c=function(n,m,d){if(n.addEventListene
 r){n.addEventListener(m,d,false)}else{if(n.attachEvent){n.attachEvent(&quot;on&quot;+m,function(){return d.call(n,window.event)})}}},e,f=new RegExp(&quot;\\bhover\\b&quot;,&quot;g&quot;),a=[],j=new RegExp(&quot;\\bselected\\b&quot;,&quot;g&quot;),g=function(m){var d=a.length;while(d--){if(a[d]&amp;&amp;m==a[d][1]){return a[d][0]}}return false},h=function(s){var n,d,q,m,p,r,u=[],o=0;while(s&amp;&amp;s!=e&amp;&amp;s!=i){if(&quot;LI&quot;==s.nodeName.toUpperCase()){u[u.length]=s;d=g(s);if(d){clearTimeout(d)}s.className=s.className?(s.className.replace(f,&quot;&quot;)+&quot; hover&quot;):&quot;hover&quot;;m=s}s=s.parentNode}if(m&amp;&amp;m.parentNode){p=m.parentNode;if(p&amp;&amp;&quot;UL&quot;==p.nodeName.toUpperCase()){n=p.childNodes.length;while(n--){r=p.childNodes[n];if(r!=m){r.className=r.className?r.className.replace(j,&quot;&quot;):&quot;&quot;}}}}n=a.length;while(n--){q=false;o=u.length;while(o--){if(u[o]==a[n][1]){q=true}}if(!q){a[n][1].className=a[n][1].className?a[n][
 1].className.replace(f,&quot;&quot;):&quot;&quot;}}},l=function(d){while(d&amp;&amp;d!=e&amp;&amp;d!=i){if(&quot;LI&quot;==d.nodeName.toUpperCase()){(function(m){var n=setTimeout(function(){m.className=m.className?m.className.replace(f,&quot;&quot;):&quot;&quot;},500);a[a.length]=[n,m]})(d)}d=d.parentNode}},b=function(p){var n,d,o,m=p.target||p.srcElement;while(true){if(!m||m==i||m==e){return}if(m.id&amp;&amp;m.id==&quot;wp-admin-bar-get-shortlink&quot;){break}m=m.parentNode}if(p.preventDefault){p.preventDefault()}p.returnValue=false;if(-1==m.className.indexOf(&quot;selected&quot;)){m.className+=&quot; selected&quot;}for(n=0,d=m.childNodes.length;n&lt;d;n++){o=m.childNodes[n];if(o.className&amp;&amp;-1!=o.className.indexOf(&quot;shortlink-input&quot;)){o.focus();o.select();o.onblur=function(){m.className=m.className?m.className.replace(j,&quot;&quot;):&quot;&quot;};break}}return false};c(k,&quot;load&quot;,function(){e=i.getElementById(&quot;wpadminbar&quot;);if(i.body&amp;&
 amp;e){i.body.appendChild(e);if(e.className){e.className=e.className.replace(/nojs/,&quot;&quot;)}c(e,&quot;mouseover&quot;,function(d){h(d.target||d.srcElement)});c(e,&quot;mouseout&quot;,function(d){l(d.target||d.srcElement)});c(e,&quot;click&quot;,b)}if(k.location.hash){k.scrollBy(0,-32)}})})(document,window)};
</del><span class="cx">\ No newline at end of file
</span><ins>+if(typeof(jQuery)!=&quot;undefined&quot;){if(typeof(jQuery.fn.hoverIntent)==&quot;undefined&quot;){(function(b){b.fn.hoverIntent=function(p,r){var g={sensitivity:7,interval:100,timeout:0};g=b.extend(g,r?{over:p,out:r}:p);var a,f,t,v;var u=function(c){a=c.pageX;f=c.pageY};var w=function(c,d){d.hoverIntent_t=clearTimeout(d.hoverIntent_t);if((Math.abs(t-a)+Math.abs(v-f))&lt;g.sensitivity){b(d).unbind(&quot;mousemove&quot;,u);d.hoverIntent_s=1;return g.over.apply(d,[c])}else{t=a;v=f;d.hoverIntent_t=setTimeout(function(){w(c,d)},g.interval)}};var s=function(c,d){d.hoverIntent_t=clearTimeout(d.hoverIntent_t);d.hoverIntent_s=0;return g.out.apply(d,[c])};var x=function(e){var d=this;var c=(e.type==&quot;mouseover&quot;?e.fromElement:e.toElement)||e.relatedTarget;while(c&amp;&amp;c!=this){try{c=c.parentNode}catch(e){c=this}}if(c==this){if(b.browser.mozilla){if(e.type==&quot;mouseout&quot;){d.mtout=setTimeout(function(){q(e,d)},30)}else{if(d.mtout){d.mtout=clearTimeout(d.m
 tout)}}}return}else{if(d.mtout){d.mtout=clearTimeout(d.mtout)}q(e,d)}};var q=function(e,d){var c=jQuery.extend({},e);if(d.hoverIntent_t){d.hoverIntent_t=clearTimeout(d.hoverIntent_t)}if(e.type==&quot;mouseover&quot;){t=c.pageX;v=c.pageY;b(d).bind(&quot;mousemove&quot;,u);if(d.hoverIntent_s!=1){d.hoverIntent_t=setTimeout(function(){w(c,d)},g.interval)}}else{b(d).unbind(&quot;mousemove&quot;,u);if(d.hoverIntent_s==1){d.hoverIntent_t=setTimeout(function(){s(c,d)},g.timeout)}}};return this.mouseover(x).mouseout(x)}})(jQuery)}jQuery(document).ready(function(b){var a=function(c,e){var f=b(e),d=f.attr(&quot;tabindex&quot;);if(d){f.attr(&quot;tabindex&quot;,&quot;0&quot;).attr(&quot;tabindex&quot;,d)}};b(&quot;#wpadminbar&quot;).removeClass(&quot;nojq&quot;).removeClass(&quot;nojs&quot;).find(&quot;li.menupop&quot;).hoverIntent({over:function(c){b(this).addClass(&quot;hover&quot;)},out:function(c){b(this).removeClass(&quot;hover&quot;)},timeout:180,sensitivity:7,interval:100});b(&qu
 ot;#wp-admin-bar-get-shortlink&quot;).click(function(c){c.preventDefault();b(this).addClass(&quot;selected&quot;).children(&quot;.shortlink-input&quot;).blur(function(){b(this).parents(&quot;#wp-admin-bar-get-shortlink&quot;).removeClass(&quot;selected&quot;)}).focus().select()});b(&quot;#wpadminbar li.menupop &gt; .ab-item&quot;).bind(&quot;keydown.adminbar&quot;,function(f){if(f.which!=13){return}var d=b(f.target),c=d.parent();f.stopPropagation();f.preventDefault();c.siblings(&quot;.menupop&quot;).removeClass(&quot;hover&quot;);c.toggleClass(&quot;hover&quot;);d.siblings(&quot;.ab-sub-wrapper&quot;).find(&quot;.ab-item&quot;).each(a)}).each(a);b(&quot;#wpadminbar .ab-item&quot;).bind(&quot;keydown.adminbar&quot;,function(d){if(d.which!=27){return}var c=b(d.target);d.stopPropagation();d.preventDefault();c.closest(&quot;.hover&quot;).removeClass(&quot;hover&quot;).children(&quot;.ab-item&quot;).focus();c.siblings(&quot;.ab-sub-wrapper&quot;).find(&quot;.ab-item&quot;).each(a
 )})})}else{(function(i,k){var c=function(n,m,d){if(n.addEventListener){n.addEventListener(m,d,false)}else{if(n.attachEvent){n.attachEvent(&quot;on&quot;+m,function(){return d.call(n,window.event)})}}},e,f=new RegExp(&quot;\\bhover\\b&quot;,&quot;g&quot;),a=[],j=new RegExp(&quot;\\bselected\\b&quot;,&quot;g&quot;),g=function(m){var d=a.length;while(d--){if(a[d]&amp;&amp;m==a[d][1]){return a[d][0]}}return false},h=function(s){var n,d,q,m,p,r,u=[],o=0;while(s&amp;&amp;s!=e&amp;&amp;s!=i){if(&quot;LI&quot;==s.nodeName.toUpperCase()){u[u.length]=s;d=g(s);if(d){clearTimeout(d)}s.className=s.className?(s.className.replace(f,&quot;&quot;)+&quot; hover&quot;):&quot;hover&quot;;m=s}s=s.parentNode}if(m&amp;&amp;m.parentNode){p=m.parentNode;if(p&amp;&amp;&quot;UL&quot;==p.nodeName.toUpperCase()){n=p.childNodes.length;while(n--){r=p.childNodes[n];if(r!=m){r.className=r.className?r.className.replace(j,&quot;&quot;):&quot;&quot;}}}}n=a.length;while(n--){q=false;o=u.length;while(o--){if(u[o
 ]==a[n][1]){q=true}}if(!q){a[n][1].className=a[n][1].className?a[n][1].className.replace(f,&quot;&quot;):&quot;&quot;}}},l=function(d){while(d&amp;&amp;d!=e&amp;&amp;d!=i){if(&quot;LI&quot;==d.nodeName.toUpperCase()){(function(m){var n=setTimeout(function(){m.className=m.className?m.className.replace(f,&quot;&quot;):&quot;&quot;},500);a[a.length]=[n,m]})(d)}d=d.parentNode}},b=function(p){var n,d,o,m=p.target||p.srcElement;while(true){if(!m||m==i||m==e){return}if(m.id&amp;&amp;m.id==&quot;wp-admin-bar-get-shortlink&quot;){break}m=m.parentNode}if(p.preventDefault){p.preventDefault()}p.returnValue=false;if(-1==m.className.indexOf(&quot;selected&quot;)){m.className+=&quot; selected&quot;}for(n=0,d=m.childNodes.length;n&lt;d;n++){o=m.childNodes[n];if(o.className&amp;&amp;-1!=o.className.indexOf(&quot;shortlink-input&quot;)){o.focus();o.select();o.onblur=function(){m.className=m.className?m.className.replace(j,&quot;&quot;):&quot;&quot;};break}}return false};c(k,&quot;load&quot;,f
 unction(){e=i.getElementById(&quot;wpadminbar&quot;);if(i.body&amp;&amp;e){i.body.appendChild(e);if(e.className){e.className=e.className.replace(/nojs/,&quot;&quot;)}c(e,&quot;mouseover&quot;,function(d){h(d.target||d.srcElement)});c(e,&quot;mouseout&quot;,function(d){l(d.target||d.srcElement)});c(e,&quot;click&quot;,b)}if(k.location.hash){k.scrollBy(0,-32)}})})(document,window)};
</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 (19504 => 19505)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/script-loader.php        2011-12-01 00:36:19 UTC (rev 19504)
+++ trunk/wp-includes/script-loader.php        2011-12-01 00:43:18 UTC (rev 19505)
</span><span class="lines">@@ -61,7 +61,7 @@
</span><span class="cx"> 
</span><span class="cx">         $scripts-&gt;add( 'utils', &quot;/wp-admin/js/utils$suffix.js&quot;, false, '20101110' );
</span><span class="cx"> 
</span><del>-        $scripts-&gt;add( 'common', &quot;/wp-admin/js/common$suffix.js&quot;, array('jquery', 'hoverIntent', 'utils'), '20111129a', 1 );
</del><ins>+        $scripts-&gt;add( 'common', &quot;/wp-admin/js/common$suffix.js&quot;, array('jquery', 'hoverIntent', 'utils'), '20111130', 1 );
</ins><span class="cx">         $scripts-&gt;localize( 'common', 'commonL10n', array(
</span><span class="cx">                 'warnDelete' =&gt; __(&quot;You are about to permanently delete the selected items.\n  'Cancel' to stop, 'OK' to delete.&quot;)
</span><span class="cx">         ) );
</span><span class="lines">@@ -260,7 +260,7 @@
</span><span class="cx"> 
</span><span class="cx">         $scripts-&gt;add( 'user-profile', &quot;/wp-admin/js/user-profile$suffix.js&quot;, array( 'jquery', 'password-strength-meter' ), '20110628', 1 );
</span><span class="cx"> 
</span><del>-        $scripts-&gt;add( 'admin-bar', &quot;/wp-includes/js/admin-bar$suffix.js&quot;, false, '20111129', 1 );
</del><ins>+        $scripts-&gt;add( 'admin-bar', &quot;/wp-includes/js/admin-bar$suffix.js&quot;, false, '20111130', 1 );
</ins><span class="cx"> 
</span><span class="cx">         $scripts-&gt;add( 'wplink', &quot;/wp-includes/js/wplink$suffix.js&quot;, array( 'jquery', 'wpdialogs' ), '20111128', 1 );
</span><span class="cx">         $scripts-&gt;localize( 'wplink', 'wpLinkL10n', array(
</span></span></pre>
</div>
</div>

</body>
</html>