<!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>[12215] trunk: Fix removal of .form-invalid in IE, props aldenta,
  fixes #11181</title>
</head>
<body>

<div id="msg">
<dl>
<dt>Revision</dt> <dd><a href="http://trac.wordpress.org/changeset/12215">12215</a></dd>
<dt>Author</dt> <dd>azaozz</dd>
<dt>Date</dt> <dd>2009-11-19 10:24:14 +0000 (Thu, 19 Nov 2009)</dd>
</dl>

<h3>Log Message</h3>
<pre>Fix removal of .form-invalid in IE, props aldenta, fixes <a href="http://trac.wordpress.org/ticket/11181">#11181</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="#trunkwpincludesjswpajaxresponsedevjs">trunk/wp-includes/js/wp-ajax-response.dev.js</a></li>
<li><a href="#trunkwpincludesjswpajaxresponsejs">trunk/wp-includes/js/wp-ajax-response.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 (12214 => 12215)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/js/common.dev.js        2009-11-19 09:46:07 UTC (rev 12214)
+++ trunk/wp-admin/js/common.dev.js        2009-11-19 10:24:14 UTC (rev 12215)
</span><span class="lines">@@ -144,7 +144,7 @@
</span><span class="cx"> $(document).ready(function(){columns.init();});
</span><span class="cx"> 
</span><span class="cx"> validateForm = function( form ) {
</span><del>-        return !$( form ).find('.form-required').filter( function() { return $('input:visible', this).val() == ''; } ).addClass( 'form-invalid' ).change( function() { $(this).removeClass( 'form-invalid' ); } ).size();
</del><ins>+        return !$( form ).find('.form-required').filter( function() { return $('input:visible', this).val() == ''; } ).addClass( 'form-invalid' ).find('input:visible').change( function() { $(this).closest('.form-invalid').removeClass( 'form-invalid' ); } ).size();
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> })(jQuery);
</span></span></pre></div>
<a id="trunkwpadminjscommonjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/js/common.js (12214 => 12215)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/js/common.js        2009-11-19 09:46:07 UTC (rev 12214)
+++ trunk/wp-admin/js/common.js        2009-11-19 10:24:14 UTC (rev 12215)
</span><span class="lines">@@ -1 +1 @@
</span><del>-var showNotice,adminMenu,columns,validateForm;(function(a){adminMenu={init:function(){var b=a(&quot;#adminmenu&quot;);a(&quot;.wp-menu-toggle&quot;,b).each(function(){var c=a(this),d=c.siblings(&quot;.wp-submenu&quot;);if(d.length){c.click(function(){adminMenu.toggle(d)})}else{c.hide()}});this.favorites();a(&quot;.separator&quot;,b).click(function(){if(a(&quot;body&quot;).hasClass(&quot;folded&quot;)){adminMenu.fold(1);deleteUserSetting(&quot;mfold&quot;)}else{adminMenu.fold();setUserSetting(&quot;mfold&quot;,&quot;f&quot;)}return false});if(a(&quot;body&quot;).hasClass(&quot;folded&quot;)){this.fold()}this.restoreMenuState()},restoreMenuState:function(){a(&quot;li.wp-has-submenu&quot;,&quot;#adminmenu&quot;).each(function(c,d){var b=getUserSetting(&quot;m&quot;+c);if(a(d).hasClass(&quot;wp-has-current-submenu&quot;)){return true}if(&quot;o&quot;==b){a(d).addClass(&quot;wp-menu-open&quot;)}else{if(&quot;c&quot;==b){a(d).removeClass(&quot;wp-menu-open&quot;)}}})},toggle:function(b){b.slideToggle(150,function(){b.css(&quot;display&quot;,&quot;&quot;)}).parent().toggleClass(&quot;wp-menu-open&quot;);a(&quot;.wp-has-submenu&quot;,&quot;#adminmenu&quot;).each(function(d,f){var c=a(f).hasClass(&quot;wp-menu-open&quot;)?&quot;o&quot;:&quot;c&quot;;setUserSetting(&quot;m&quot;+d,c)});return false},fold:function(b){if(b){a(&quot;body&quot;).removeClass(&quot;folded&quot;);a(&quot;#adminmenu li.wp-has-submenu&quot;).unbind()}else{a(&quot;body&quot;).addClass(&quot;folded&quot;);a(&quot;#adminmenu li.wp-has-submenu&quot;).hoverIntent({over:function(j){var d,c,g,k,i;d=a(this).find(&quot;.wp-submenu&quot;);c=a(this).offset().top+d.height()+1;g=a(&quot;#wpwrap&quot;).height();k=60+c-g;i=a(window).height()+a(window).scrollTop()-15;if(i&lt;(c-k)){k=c-i}if(k&gt;1){d.css({marginTop:&quot;-&quot;+k+&quot;px&quot;})}else{if(d.css(&quot;marginTop&quot;)){d.css({marginTop:&quot;&quot;})}}d.addClass(&quot;sub-open&quot;)},out:function(){a(this).find(&quot;.wp-submenu&quot;).removeClass(&quot;sub-open&quot;).css({marginTop:&quot;&quot;})},timeout:220,sensitivity:8,interval:100})}},favorites:function(){a(&quot;#favorite-inside&quot;).width(a(&quot;#favorite-actions&quot;).width()-4);a(&quot;#favorite-toggle, #favorite-inside&quot;).bind(&quot;mouseenter&quot;,function(){a(&quot;#favorite-inside&quot;).removeClass(&quot;slideUp&quot;).addClass(&quot;slideDown&quot;);setTimeout(function(){if(a(&quot;#favorite-inside&quot;).hasClass(&quot;slideDown&quot;)){a(&quot;#favorite-inside&quot;).slideDown(100);a(&quot;#favorite-first&quot;).addClass(&quot;slide-down&quot;)}},200)}).bind(&quot;mouseleave&quot;,function(){a(&quot;#favorite-inside&quot;).removeClass(&quot;slideDown&quot;).addClass(&quot;slideUp&quot;);setTimeout(function(){if(a(&quot;#favorite-inside&quot;).hasClass(&quot;slideUp&quot;)){a(&quot;#favorite-inside&quot;).slideUp(100,function(){a(&quot;#favorite-first&quot;).removeClass(&quot;slide-down&quot;)})}},300)})}};a(document).ready(function(){adminMenu.init()});columns={init:function(){a(&quot;.hide-column-tog&quot;,&quot;#adv-settings&quot;).click(function(){var b=a(this).val();if(a(this).attr(&quot;checked&quot;)){a(&quot;.column-&quot;+b).show()}else{a(&quot;.column-&quot;+b).hide()}columns.save_manage_columns_state()})},save_manage_columns_state:function(){var b=a(&quot;.manage-column&quot;).filter(&quot;:hidden&quot;).map(function(){return this.id}).get().join(&quot;,&quot;);a.post(ajaxurl,{action:&quot;hidden-columns&quot;,hidden:b,screenoptionnonce:a(&quot;#screenoptionnonce&quot;).val(),page:pagenow})}};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;).change(function(){a(this).removeClass(&quot;form-invalid&quot;)}).size()}})(jQuery);showNotice={warn:function(){var a=commonL10n.warnDelete||&quot;&quot;;if(confirm(a)){return true}return false},note:function(a){alert(a)}};jQuery(document).ready(function(d){var f=false,a,e,c,b;d(&quot;div.fade&quot;).animate({opacity:0.5},400).animate({opacity:1},400).animate({opacity:0.5},400).animate({opacity:1},400);d(&quot;div.wrap h2:first&quot;).nextAll(&quot;div.updated, div.error&quot;).addClass(&quot;below-h2&quot;);d(&quot;div.updated, div.error&quot;).not(&quot;.below-h2&quot;).insertAfter(d(&quot;div.wrap h2:first&quot;));d(&quot;#show-settings-link&quot;).click(function(){if(!d(&quot;#screen-options-wrap&quot;).hasClass(&quot;screen-options-open&quot;)){d(&quot;#contextual-help-link-wrap&quot;).css(&quot;visibility&quot;,&quot;hidden&quot;)}d(&quot;#screen-options-wrap&quot;).slideToggle(&quot;fast&quot;,function(){if(d(this).hasClass(&quot;screen-options-open&quot;)){d(&quot;#show-settings-link&quot;).css({backgroundImage:'url(&quot;images/screen-options-right.gif&quot;)'});d(&quot;#contextual-help-link-wrap&quot;).css(&quot;visibility&quot;,&quot;&quot;);d(this).removeClass(&quot;screen-options-open&quot;)}else{d(&quot;#show-settings-link&quot;).css({backgroundImage:'url(&quot;images/screen-options-right-up.gif&quot;)'});d(this).addClass(&quot;screen-options-open&quot;)}});return false});d(&quot;#contextual-help-link&quot;).click(function(){if(!d(&quot;#contextual-help-wrap&quot;).hasClass(&quot;contextual-help-open&quot;)){d(&quot;#screen-options-link-wrap&quot;).css(&quot;visibility&quot;,&quot;hidden&quot;)}d(&quot;#contextual-help-wrap&quot;).slideToggle(&quot;fast&quot;,function(){if(d(this).hasClass(&quot;contextual-help-open&quot;)){d(&quot;#contextual-help-link&quot;).css({backgroundImage:'url(&quot;images/screen-options-right.gif&quot;)'});d(&quot;#screen-options-link-wrap&quot;).css(&quot;visibility&quot;,&quot;&quot;);d(this).removeClass(&quot;contextual-help-open&quot;)}else{d(&quot;#contextual-help-link&quot;).css({backgroundImage:'url(&quot;images/screen-options-right-up.gif&quot;)'});d(this).addClass(&quot;contextual-help-open&quot;)}});return false});d(&quot;tbody&quot;).children().children(&quot;.check-column&quot;).find(&quot;:checkbox&quot;).click(function(g){if(&quot;undefined&quot;==g.shiftKey){return true}if(g.shiftKey){if(!f){return true}a=d(f).closest(&quot;form&quot;).find(&quot;:checkbox&quot;);e=a.index(f);c=a.index(this);b=d(this).attr(&quot;checked&quot;);if(0&lt;e&amp;&amp;0&lt;c&amp;&amp;e!=c){a.slice(e,c).attr(&quot;checked&quot;,function(){if(d(this).closest(&quot;tr&quot;).is(&quot;:visible&quot;)){return b?&quot;checked&quot;:&quot;&quot;}return&quot;&quot;})}}f=this;return true});d(&quot;thead, tfoot&quot;).find(&quot;:checkbox&quot;).click(function(i){var j=d(this).attr(&quot;checked&quot;),h=&quot;undefined&quot;==typeof toggleWithKeyboard?false:toggleWithKeyboard,g=i.shiftKey||h;d(this).closest(&quot;table&quot;).children(&quot;tbody&quot;).filter(&quot;:visible&quot;).children().children(&quot;.check-column&quot;).find(&quot;:checkbox&quot;).attr(&quot;checked&quot;,function(){if(d(this).closest(&quot;tr&quot;).is(&quot;:hidden&quot;)){return&quot;&quot;}if(g){return d(this).attr(&quot;checked&quot;)?&quot;&quot;:&quot;checked&quot;}else{if(j){return&quot;checked&quot;}}return&quot;&quot;});d(this).closest(&quot;table&quot;).children(&quot;thead,  tfoot&quot;).filter(&quot;:visible&quot;).children().children(&quot;.check-column&quot;).find(&quot;:checkbox&quot;).attr(&quot;checked&quot;,function(){if(g){return&quot;&quot;}else{if(j){return&quot;checked&quot;}}return&quot;&quot;})});d(&quot;#default-password-nag-no&quot;).click(function(){setUserSetting(&quot;default_password_nag&quot;,&quot;hide&quot;);d(&quot;div.default-password-nag&quot;).hide();return false})});jQuery(document).ready(function(b){var a=b(&quot;span.turbo-nag&quot;,&quot;#user_info&quot;);if(!a.length||(&quot;undefined&quot;!=typeof(google)&amp;&amp;google.gears)){return}if(&quot;undefined&quot;!=typeof GearsFactory){return}else{try{if((&quot;undefined&quot;!=typeof window.ActiveXObject&amp;&amp;ActiveXObject(&quot;Gears.Factory&quot;))||(&quot;undefined&quot;!=typeof navigator.mimeTypes&amp;&amp;navigator.mimeTypes[&quot;application/x-googlegears&quot;])){return}}catch(c){}}a.show()});
</del><span class="cx">\ No newline at end of file
</span><ins>+var showNotice,adminMenu,columns,validateForm;(function(a){adminMenu={init:function(){var b=a(&quot;#adminmenu&quot;);a(&quot;.wp-menu-toggle&quot;,b).each(function(){var c=a(this),d=c.siblings(&quot;.wp-submenu&quot;);if(d.length){c.click(function(){adminMenu.toggle(d)})}else{c.hide()}});this.favorites();a(&quot;.separator&quot;,b).click(function(){if(a(&quot;body&quot;).hasClass(&quot;folded&quot;)){adminMenu.fold(1);deleteUserSetting(&quot;mfold&quot;)}else{adminMenu.fold();setUserSetting(&quot;mfold&quot;,&quot;f&quot;)}return false});if(a(&quot;body&quot;).hasClass(&quot;folded&quot;)){this.fold()}this.restoreMenuState()},restoreMenuState:function(){a(&quot;li.wp-has-submenu&quot;,&quot;#adminmenu&quot;).each(function(c,d){var b=getUserSetting(&quot;m&quot;+c);if(a(d).hasClass(&quot;wp-has-current-submenu&quot;)){return true}if(&quot;o&quot;==b){a(d).addClass(&quot;wp-menu-open&quot;)}else{if(&quot;c&quot;==b){a(d).removeClass(&quot;wp-menu-open&quot;)}}})},toggle:function(b){b.slideToggle(150,function(){b.css(&quot;display&quot;,&quot;&quot;)}).parent().toggleClass(&quot;wp-menu-open&quot;);a(&quot;.wp-has-submenu&quot;,&quot;#adminmenu&quot;).each(function(d,f){var c=a(f).hasClass(&quot;wp-menu-open&quot;)?&quot;o&quot;:&quot;c&quot;;setUserSetting(&quot;m&quot;+d,c)});return false},fold:function(b){if(b){a(&quot;body&quot;).removeClass(&quot;folded&quot;);a(&quot;#adminmenu li.wp-has-submenu&quot;).unbind()}else{a(&quot;body&quot;).addClass(&quot;folded&quot;);a(&quot;#adminmenu li.wp-has-submenu&quot;).hoverIntent({over:function(j){var d,c,g,k,i;d=a(this).find(&quot;.wp-submenu&quot;);c=a(this).offset().top+d.height()+1;g=a(&quot;#wpwrap&quot;).height();k=60+c-g;i=a(window).height()+a(window).scrollTop()-15;if(i&lt;(c-k)){k=c-i}if(k&gt;1){d.css({marginTop:&quot;-&quot;+k+&quot;px&quot;})}else{if(d.css(&quot;marginTop&quot;)){d.css({marginTop:&quot;&quot;})}}d.addClass(&quot;sub-open&quot;)},out:function(){a(this).find(&quot;.wp-submenu&quot;).removeClass(&quot;sub-open&quot;).css({marginTop:&quot;&quot;})},timeout:220,sensitivity:8,interval:100})}},favorites:function(){a(&quot;#favorite-inside&quot;).width(a(&quot;#favorite-actions&quot;).width()-4);a(&quot;#favorite-toggle, #favorite-inside&quot;).bind(&quot;mouseenter&quot;,function(){a(&quot;#favorite-inside&quot;).removeClass(&quot;slideUp&quot;).addClass(&quot;slideDown&quot;);setTimeout(function(){if(a(&quot;#favorite-inside&quot;).hasClass(&quot;slideDown&quot;)){a(&quot;#favorite-inside&quot;).slideDown(100);a(&quot;#favorite-first&quot;).addClass(&quot;slide-down&quot;)}},200)}).bind(&quot;mouseleave&quot;,function(){a(&quot;#favorite-inside&quot;).removeClass(&quot;slideDown&quot;).addClass(&quot;slideUp&quot;);setTimeout(function(){if(a(&quot;#favorite-inside&quot;).hasClass(&quot;slideUp&quot;)){a(&quot;#favorite-inside&quot;).slideUp(100,function(){a(&quot;#favorite-first&quot;).removeClass(&quot;slide-down&quot;)})}},300)})}};a(document).ready(function(){adminMenu.init()});columns={init:function(){a(&quot;.hide-column-tog&quot;,&quot;#adv-settings&quot;).click(function(){var b=a(this).val();if(a(this).attr(&quot;checked&quot;)){a(&quot;.column-&quot;+b).show()}else{a(&quot;.column-&quot;+b).hide()}columns.save_manage_columns_state()})},save_manage_columns_state:function(){var b=a(&quot;.manage-column&quot;).filter(&quot;:hidden&quot;).map(function(){return this.id}).get().join(&quot;,&quot;);a.post(ajaxurl,{action:&quot;hidden-columns&quot;,hidden:b,screenoptionnonce:a(&quot;#screenoptionnonce&quot;).val(),page:pagenow})}};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()}})(jQuery);showNotice={warn:function(){var a=commonL10n.warnDelete||&quot;&quot;;if(confirm(a)){return true}return false},note:function(a){alert(a)}};jQuery(document).ready(function(d){var f=false,a,e,c,b;d(&quot;div.fade&quot;).animate({opacity:0.5},400).animate({opacity:1},400).animate({opacity:0.5},400).animate({opacity:1},400);d(&quot;div.wrap h2:first&quot;).nextAll(&quot;div.updated, div.error&quot;).addClass(&quot;below-h2&quot;);d(&quot;div.updated, div.error&quot;).not(&quot;.below-h2&quot;).insertAfter(d(&quot;div.wrap h2:first&quot;));d(&quot;#show-settings-link&quot;).click(function(){if(!d(&quot;#screen-options-wrap&quot;).hasClass(&quot;screen-options-open&quot;)){d(&quot;#contextual-help-link-wrap&quot;).css(&quot;visibility&quot;,&quot;hidden&quot;)}d(&quot;#screen-options-wrap&quot;).slideToggle(&quot;fast&quot;,function(){if(d(this).hasClass(&quot;screen-options-open&quot;)){d(&quot;#show-settings-link&quot;).css({backgroundImage:'url(&quot;images/screen-options-right.gif&quot;)'});d(&quot;#contextual-help-link-wrap&quot;).css(&quot;visibility&quot;,&quot;&quot;);d(this).removeClass(&quot;screen-options-open&quot;)}else{d(&quot;#show-settings-link&quot;).css({backgroundImage:'url(&quot;images/screen-options-right-up.gif&quot;)'});d(this).addClass(&quot;screen-options-open&quot;)}});return false});d(&quot;#contextual-help-link&quot;).click(function(){if(!d(&quot;#contextual-help-wrap&quot;).hasClass(&quot;contextual-help-open&quot;)){d(&quot;#screen-options-link-wrap&quot;).css(&quot;visibility&quot;,&quot;hidden&quot;)}d(&quot;#contextual-help-wrap&quot;).slideToggle(&quot;fast&quot;,function(){if(d(this).hasClass(&quot;contextual-help-open&quot;)){d(&quot;#contextual-help-link&quot;).css({backgroundImage:'url(&quot;images/screen-options-right.gif&quot;)'});d(&quot;#screen-options-link-wrap&quot;).css(&quot;visibility&quot;,&quot;&quot;);d(this).removeClass(&quot;contextual-help-open&quot;)}else{d(&quot;#contextual-help-link&quot;).css({backgroundImage:'url(&quot;images/screen-options-right-up.gif&quot;)'});d(this).addClass(&quot;contextual-help-open&quot;)}});return false});d(&quot;tbody&quot;).children().children(&quot;.check-column&quot;).find(&quot;:checkbox&quot;).click(function(g){if(&quot;undefined&quot;==g.shiftKey){return true}if(g.shiftKey){if(!f){return true}a=d(f).closest(&quot;form&quot;).find(&quot;:checkbox&quot;);e=a.index(f);c=a.index(this);b=d(this).attr(&quot;checked&quot;);if(0&lt;e&amp;&amp;0&lt;c&amp;&amp;e!=c){a.slice(e,c).attr(&quot;checked&quot;,function(){if(d(this).closest(&quot;tr&quot;).is(&quot;:visible&quot;)){return b?&quot;checked&quot;:&quot;&quot;}return&quot;&quot;})}}f=this;return true});d(&quot;thead, tfoot&quot;).find(&quot;:checkbox&quot;).click(function(i){var j=d(this).attr(&quot;checked&quot;),h=&quot;undefined&quot;==typeof toggleWithKeyboard?false:toggleWithKeyboard,g=i.shiftKey||h;d(this).closest(&quot;table&quot;).children(&quot;tbody&quot;).filter(&quot;:visible&quot;).children().children(&quot;.check-column&quot;).find(&quot;:checkbox&quot;).attr(&quot;checked&quot;,function(){if(d(this).closest(&quot;tr&quot;).is(&quot;:hidden&quot;)){return&quot;&quot;}if(g){return d(this).attr(&quot;checked&quot;)?&quot;&quot;:&quot;checked&quot;}else{if(j){return&quot;checked&quot;}}return&quot;&quot;});d(this).closest(&quot;table&quot;).children(&quot;thead,  tfoot&quot;).filter(&quot;:visible&quot;).children().children(&quot;.check-column&quot;).find(&quot;:checkbox&quot;).attr(&quot;checked&quot;,function(){if(g){return&quot;&quot;}else{if(j){return&quot;checked&quot;}}return&quot;&quot;})});d(&quot;#default-password-nag-no&quot;).click(function(){setUserSetting(&quot;default_password_nag&quot;,&quot;hide&quot;);d(&quot;div.default-password-nag&quot;).hide();return false})});jQuery(document).ready(function(b){var a=b(&quot;span.turbo-nag&quot;,&quot;#user_info&quot;);if(!a.length||(&quot;undefined&quot;!=typeof(google)&amp;&amp;google.gears)){return}if(&quot;undefined&quot;!=typeof GearsFactory){return}else{try{if((&quot;undefined&quot;!=typeof window.ActiveXObject&amp;&amp;ActiveXObject(&quot;Gears.Factory&quot;))||(&quot;undefined&quot;!=typeof navigator.mimeTypes&amp;&amp;navigator.mimeTypes[&quot;application/x-googlegears&quot;])){return}}catch(c){}}a.show()});
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpincludesjswpajaxresponsedevjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/wp-ajax-response.dev.js (12214 => 12215)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/wp-ajax-response.dev.js        2009-11-19 09:46:07 UTC (rev 12214)
+++ trunk/wp-includes/js/wp-ajax-response.dev.js        2009-11-19 10:24:14 UTC (rev 12215)
</span><span class="lines">@@ -50,7 +50,7 @@
</span><span class="cx">                 return true;
</span><span class="cx">         },
</span><span class="cx">         invalidateForm: function ( selector ) {
</span><del>-                return jQuery( selector ).addClass( 'form-invalid' ).change( function() { jQuery(this).removeClass( 'form-invalid' ); } );
</del><ins>+                return jQuery( selector ).addClass( 'form-invalid' ).find('input:visible').change( function() { jQuery(this).closest('.form-invalid').removeClass( 'form-invalid' ); } );
</ins><span class="cx">         },
</span><span class="cx">         validateForm: function( selector ) {
</span><span class="cx">                 selector = jQuery( selector );
</span></span></pre></div>
<a id="trunkwpincludesjswpajaxresponsejs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/wp-ajax-response.js (12214 => 12215)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/wp-ajax-response.js        2009-11-19 09:46:07 UTC (rev 12214)
+++ trunk/wp-includes/js/wp-ajax-response.js        2009-11-19 10:24:14 UTC (rev 12215)
</span><span class="lines">@@ -1 +1 @@
</span><del>-var wpAjax=jQuery.extend({unserialize:function(c){var d={},e,a,b,f;if(!c){return d}e=c.split(&quot;?&quot;);if(e[1]){c=e[1]}a=c.split(&quot;&amp;&quot;);for(b in a){if(jQuery.isFunction(a.hasOwnProperty)&amp;&amp;!a.hasOwnProperty(b)){continue}f=a[b].split(&quot;=&quot;);d[f[0]]=f[1]}return d},parseAjaxResponse:function(a,f,g){var b={},c=jQuery(&quot;#&quot;+f).html(&quot;&quot;),d=&quot;&quot;;if(a&amp;&amp;typeof a==&quot;object&quot;&amp;&amp;a.getElementsByTagName(&quot;wp_ajax&quot;)){b.responses=[];b.errors=false;jQuery(&quot;response&quot;,a).each(function(){var h=jQuery(this),i=jQuery(this.firstChild),e;e={action:h.attr(&quot;action&quot;),what:i.get(0).nodeName,id:i.attr(&quot;id&quot;),oldId:i.attr(&quot;old_id&quot;),position:i.attr(&quot;position&quot;)};e.data=jQuery(&quot;response_data&quot;,i).text();e.supplemental={};if(!jQuery(&quot;supplemental&quot;,i).children().each(function(){e.supplemental[this.nodeName]=jQuery(this).text()}).size()){e.supplemental=false}e.errors=[];if(!jQuery(&quot;wp_error&quot;,i).each(function(){var j=jQuery(this).attr(&quot;code&quot;),m,l,k;m={code:j,message:this.firstChild.nodeValue,data:false};l=jQuery('wp_error_data[code=&quot;'+j+'&quot;]',a);if(l){m.data=l.get()}k=jQuery(&quot;form-field&quot;,l).text();if(k){j=k}if(g){wpAjax.invalidateForm(jQuery(&quot;#&quot;+g+' :input[name=&quot;'+j+'&quot;]').parents(&quot;.form-field:first&quot;))}d+=&quot;&lt;p&gt;&quot;+m.message+&quot;&lt;/p&gt;&quot;;e.errors.push(m);b.errors=true}).size()){e.errors=false}b.responses.push(e)});if(d.length){c.html('&lt;div class=&quot;error&quot;&gt;'+d+&quot;&lt;/div&gt;&quot;)}return b}if(isNaN(a)){return !c.html('&lt;div class=&quot;error&quot;&gt;&lt;p&gt;'+a+&quot;&lt;/p&gt;&lt;/div&gt;&quot;)}a=parseInt(a,10);if(-1==a){return !c.html('&lt;div class=&quot;error&quot;&gt;&lt;p&gt;'+wpAjax.noPerm+&quot;&lt;/p&gt;&lt;/div&gt;&quot;)}else{if(0===a){return !c.html('&lt;div class=&quot;error&quot;&gt;&lt;p&gt;'+wpAjax.broken+&quot;&lt;/p&gt;&lt;/div&gt;&quot;)}}return true},invalidateForm:function(a){return jQuery(a).addClass(&quot;form-invalid&quot;).change(function(){jQuery(this).removeClass(&quot;form-invalid&quot;)})},validateForm:function(a){a=jQuery(a);return !wpAjax.invalidateForm(a.find(&quot;.form-required&quot;).filter(function(){return jQuery(&quot;input:visible&quot;,this).val()==&quot;&quot;})).size()}},wpAjax||{noPerm:&quot;You do not have permission to do that.&quot;,broken:&quot;An unidentified error has occurred.&quot;});jQuery(document).ready(function(a){a(&quot;form.validate&quot;).submit(function(){return wpAjax.validateForm(a(this))})});
</del><span class="cx">\ No newline at end of file
</span><ins>+var wpAjax=jQuery.extend({unserialize:function(c){var d={},e,a,b,f;if(!c){return d}e=c.split(&quot;?&quot;);if(e[1]){c=e[1]}a=c.split(&quot;&amp;&quot;);for(b in a){if(jQuery.isFunction(a.hasOwnProperty)&amp;&amp;!a.hasOwnProperty(b)){continue}f=a[b].split(&quot;=&quot;);d[f[0]]=f[1]}return d},parseAjaxResponse:function(a,f,g){var b={},c=jQuery(&quot;#&quot;+f).html(&quot;&quot;),d=&quot;&quot;;if(a&amp;&amp;typeof a==&quot;object&quot;&amp;&amp;a.getElementsByTagName(&quot;wp_ajax&quot;)){b.responses=[];b.errors=false;jQuery(&quot;response&quot;,a).each(function(){var h=jQuery(this),i=jQuery(this.firstChild),e;e={action:h.attr(&quot;action&quot;),what:i.get(0).nodeName,id:i.attr(&quot;id&quot;),oldId:i.attr(&quot;old_id&quot;),position:i.attr(&quot;position&quot;)};e.data=jQuery(&quot;response_data&quot;,i).text();e.supplemental={};if(!jQuery(&quot;supplemental&quot;,i).children().each(function(){e.supplemental[this.nodeName]=jQuery(this).text()}).size()){e.supplemental=false}e.errors=[];if(!jQuery(&quot;wp_error&quot;,i).each(function(){var j=jQuery(this).attr(&quot;code&quot;),m,l,k;m={code:j,message:this.firstChild.nodeValue,data:false};l=jQuery('wp_error_data[code=&quot;'+j+'&quot;]',a);if(l){m.data=l.get()}k=jQuery(&quot;form-field&quot;,l).text();if(k){j=k}if(g){wpAjax.invalidateForm(jQuery(&quot;#&quot;+g+' :input[name=&quot;'+j+'&quot;]').parents(&quot;.form-field:first&quot;))}d+=&quot;&lt;p&gt;&quot;+m.message+&quot;&lt;/p&gt;&quot;;e.errors.push(m);b.errors=true}).size()){e.errors=false}b.responses.push(e)});if(d.length){c.html('&lt;div class=&quot;error&quot;&gt;'+d+&quot;&lt;/div&gt;&quot;)}return b}if(isNaN(a)){return !c.html('&lt;div class=&quot;error&quot;&gt;&lt;p&gt;'+a+&quot;&lt;/p&gt;&lt;/div&gt;&quot;)}a=parseInt(a,10);if(-1==a){return !c.html('&lt;div class=&quot;error&quot;&gt;&lt;p&gt;'+wpAjax.noPerm+&quot;&lt;/p&gt;&lt;/div&gt;&quot;)}else{if(0===a){return !c.html('&lt;div class=&quot;error&quot;&gt;&lt;p&gt;'+wpAjax.broken+&quot;&lt;/p&gt;&lt;/div&gt;&quot;)}}return true},invalidateForm:function(a){return jQuery(a).addClass(&quot;form-invalid&quot;).find(&quot;input:visible&quot;).change(function(){jQuery(this).closest(&quot;.form-invalid&quot;).removeClass(&quot;form-invalid&quot;)})},validateForm:function(a){a=jQuery(a);return !wpAjax.invalidateForm(a.find(&quot;.form-required&quot;).filter(function(){return jQuery(&quot;input:visible&quot;,this).val()==&quot;&quot;})).size()}},wpAjax||{noPerm:&quot;You do not have permission to do that.&quot;,broken:&quot;An unidentified error has occurred.&quot;});jQuery(document).ready(function(a){a(&quot;form.validate&quot;).submit(function(){return wpAjax.validateForm(a(this))})});
</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 (12214 => 12215)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/script-loader.php        2009-11-19 09:46:07 UTC (rev 12214)
+++ trunk/wp-includes/script-loader.php        2009-11-19 10:24:14 UTC (rev 12215)
</span><span class="lines">@@ -60,7 +60,7 @@
</span><span class="cx"> 
</span><span class="cx">         $scripts-&gt;add( 'utils', &quot;/wp-admin/js/utils$suffix.js&quot;, false, '20090102' );
</span><span class="cx"> 
</span><del>-        $scripts-&gt;add( 'common', &quot;/wp-admin/js/common$suffix.js&quot;, array('jquery', 'hoverIntent', 'utils'), '20090820' );
</del><ins>+        $scripts-&gt;add( 'common', &quot;/wp-admin/js/common$suffix.js&quot;, array('jquery', 'hoverIntent', 'utils'), '20091119' );
</ins><span class="cx">         $scripts-&gt;add_data( 'common', 'group', 1 );
</span><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="lines">@@ -90,7 +90,7 @@
</span><span class="cx"> 
</span><span class="cx">         $scripts-&gt;add( 'prototype', '/wp-includes/js/prototype.js', false, '1.6');
</span><span class="cx"> 
</span><del>-        $scripts-&gt;add( 'wp-ajax-response', &quot;/wp-includes/js/wp-ajax-response$suffix.js&quot;, array('jquery'), '20090128' );
</del><ins>+        $scripts-&gt;add( 'wp-ajax-response', &quot;/wp-includes/js/wp-ajax-response$suffix.js&quot;, array('jquery'), '20091119' );
</ins><span class="cx">         $scripts-&gt;add_data( 'wp-ajax-response', 'group', 1 );
</span><span class="cx">         $scripts-&gt;localize( 'wp-ajax-response', 'wpAjax', array(
</span><span class="cx">                 'noPerm' =&gt; __('You do not have permission to do that.'),
</span></span></pre>
</div>
</div>

</body>
</html>