<!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>[13085] trunk/wp-admin: Re-position the QuickPress ajax spinner.</title>
</head>
<body>

<div id="msg">
<dl>
<dt>Revision</dt> <dd><a href="http://trac.wordpress.org/changeset/13085">13085</a></dd>
<dt>Author</dt> <dd>nacin</dd>
<dt>Date</dt> <dd>2010-02-13 05:35:47 +0000 (Sat, 13 Feb 2010)</dd>
</dl>

<h3>Log Message</h3>
<pre>Re-position the QuickPress ajax spinner. Fixes <a href="http://trac.wordpress.org/ticket/10680">#10680</a></pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpadmincssdashboardcss">trunk/wp-admin/css/dashboard.css</a></li>
<li><a href="#trunkwpadmincssdashboarddevcss">trunk/wp-admin/css/dashboard.dev.css</a></li>
<li><a href="#trunkwpadminincludesdashboardphp">trunk/wp-admin/includes/dashboard.php</a></li>
<li><a href="#trunkwpadminjsdashboarddevjs">trunk/wp-admin/js/dashboard.dev.js</a></li>
<li><a href="#trunkwpadminjsdashboardjs">trunk/wp-admin/js/dashboard.js</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpadmincssdashboardcss"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/css/dashboard.css (13084 => 13085)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/css/dashboard.css        2010-02-13 04:39:39 UTC (rev 13084)
+++ trunk/wp-admin/css/dashboard.css        2010-02-13 05:35:47 UTC (rev 13085)
</span><span class="lines">@@ -1 +1 @@
</span><del>-.postbox p,.postbox ul,.postbox ol,.postbox blockquote,#wp-version-message{font-size:11px;}.edit-box{display:none;}h3:hover .edit-box{display:inline;}form .input-text-wrap{border-style:solid;border-width:1px;padding:2px 3px;border-color:#ccc;}#dashboard-widgets form .input-text-wrap input{border:0 none;outline:none;margin:0;padding:0;width:99%;color:#333;}form .textarea-wrap{border-style:solid;border-width:1px;padding:2px;border-color:#ccc;}#dashboard-widgets form .textarea-wrap textarea{border:0 none;padding:0;outline:none;width:99%;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;}#dashboard-widgets .postbox form .submit{float:none;margin:.5em 0 0;padding:0;border:none;}#dashboard-widgets-wrap #dashboard-widgets .postbox form .submit input{margin:0;}#dashboard-widgets-wrap #dashboard-widgets .postbox form .submit #publish{min-width:0;}div.postbox div.inside{margin:10px;position:relative;}#dashboard-widgets a{text-decoration:none;}#dashboard-widgets h3 a{text-decoration:underline;}#dashboard-widgets h3 .postbox-title-action{position:absolute;right:30px;padding:0;}#dashboard-widgets h4{font-family:Georgia,&quot;Times New Roman&quot;,&quot;Bitstream Charter&quot;,Times,serif;font-size:13px;margin:0 0 .2em;padding:0;}#dashboard_right_now p.sub,#dashboard_right_now .table,#dashboard_right_now .versions{margin:-12px;}#dashboard_right_now .inside{font-size:12px;}#dashboard_right_now p.sub{font-style:italic;font-family:Georgia,&quot;Times New Roman&quot;,&quot;Bitstream Charter&quot;,Times,serif;padding:5px 10px 15px;color:#777;font-size:13px;}#dashboard_right_now .table{background:#f9f9f9;border-top:#ececec 1px solid;border-bottom:#ececec 1px solid;margin:0 -9px 10px;padding:0 10px;}#dashboard_right_now table{width:100%;}#dashboard_right_now table td{border-top:#ececec 1px solid;padding:3px 0;white-space:nowrap;}#dashboard_right_now table tr.first td{border-top:none;}#dashboard_right_now td.b{padding-right:6px;text-align:right;font-family:Georgia,&quot;Times New Roman&quot;,&quot;Bitstream Charter&quot;,Times,serif;font-size:14px;}#dashboard_right_now td.b a{font-size:18px;}#dashboard_right_now td.b a:hover{color:#d54e21;}#dashboard_right_now .t{font-size:12px;padding-right:12px;padding-top:6px;color:#777;}#dashboard_right_now .t a{white-space:nowrap;}#dashboard_right_now td.first,#dashboard_right_now td.last{width:1%;}#dashboard_right_now .spam{color:red;}#dashboard_right_now .waiting{color:#e66f00;}#dashboard_right_now .approved{color:green;}#dashboard_right_now .versions{padding:6px 10px 12px;}#dashboard_right_now .versions .b{font-weight:bold;}#dashboard_right_now a.button{float:right;clear:right;position:relative;top:-5px;}#dashboard_recent_comments h3{margin-bottom:0;}#dashboard_recent_comments .inside{margin-top:0;}#dashboard_recent_comments .comment-meta .approve{font-style:italic;font-family:&quot;Lucida Grande&quot;,Verdana,Arial,&quot;Bitstream Vera Sans&quot;,sans-serif;font-size:10px;}#the-comment-list{position:relative;}#the-comment-list .comment-item{padding:1em 10px;border-top:1px solid;}#the-comment-list .pingback{padding-left:9px!important;}#the-comment-list .comment-item,#the-comment-list #replyrow{margin:0 -10px;}#the-comment-list .comment-item:first-child{border-top:none;}#the-comment-list .comment-item .avatar{float:left;margin:0 10px 5px 0;}#the-comment-list .comment-item h4{line-height:1.4;margin-top:-.2em;font-weight:normal;color:#999;}#the-comment-list .comment-item h4 cite{font-style:normal;font-weight:normal;}#the-comment-list .comment-item blockquote,#the-comment-list .comment-item blockquote p{margin:0;padding:0;display:inline;}#dashboard_recent_comments #the-comment-list .trackback blockquote,#dashboard_recent_comments #the-comment-list .pingback blockquote{display:block;}#the-comment-list .comment-item p.row-actions{margin:3px 0 0;padding:0;font-size:10px;}#dashboard_quick_press h4{font-family:&quot;Lucida Grande&quot;,Verdana,Arial,&quot;Bitstream Vera Sans&quot;,sans-serif;float:left;width:5.5em;clear:both;font-weight:normal;text-align:right;padding-top:5px;font-size:12px;}#dashboard_quick_press h4 label{margin-right:10px;}#dashboard_quick_press .input-text-wrap,#dashboard_quick_press .textarea-wrap{margin:0 0 1em 5em;}#dashboard_quick_press #media-buttons{margin:0 0 .5em 5em;padding:0 0 0 10px;font-size:11px;}#dashboard_quick_press #media-buttons a{vertical-align:bottom;}#dashboard-widgets #dashboard_quick_press form p.submit{margin-left:4.6em;}#dashboard-widgets #dashboard_quick_press form p.submit input{float:left;}#dashboard-widgets #dashboard_quick_press form p.submit #save-post{margin:0 1em 0 10px;}#dashboard-widgets #dashboard_quick_press form p.submit #publish{float:right;}#dashboard_recent_drafts ul{margin:0;padding:0;list-style:none;}#dashboard_recent_drafts ul li{margin-bottom:.6em;}#dashboard_recent_drafts h4{font-weight:normal;}#dashboard_recent_drafts h4 abbr{font-family:&quot;Lucida Grande&quot;,Verdana,Arial,&quot;Bitstream Vera Sans&quot;,sans-serif;font-size:11px;color:#999;margin-left:3px;}#dashboard_recent_drafts p{margin:0;padding:0;}.rss-widget ul{margin:0;padding:0;list-style:none;}a.rsswidget{font-size:13px;font-family:Georgia,&quot;Times New Roman&quot;,&quot;Bitstream Charter&quot;,Times,serif;line-height:1.7em;}.rss-widget ul li{line-height:1.5em;margin-bottom:12px;}.rss-widget span.rss-date{margin-left:3px;}.rss-widget cite{display:block;text-align:right;margin:0 0 1em;padding:0;}.rss-widget cite:before{content:'\2014';}#dashboard_plugins h4{font-family:&quot;Lucida Grande&quot;,Verdana,Arial,&quot;Bitstream Vera Sans&quot;,sans-serif;}#dashboard_plugins h5{font-family:Georgia,&quot;Times New Roman&quot;,&quot;Bitstream Charter&quot;,Times,serif;font-size:13px!important;margin:0;display:inline;line-height:1.4em;}#dashboard_plugins h5 a{font-weight:normal;line-height:1.7em;}#dashboard_plugins p{margin:0 0 1.4em;line-height:1.4em;}.dashboard-comment-wrap{overflow:hidden;word-wrap:break-word;}
</del><span class="cx">\ No newline at end of file
</span><ins>+.postbox p,.postbox ul,.postbox ol,.postbox blockquote,#wp-version-message{font-size:11px;}.edit-box{display:none;}h3:hover .edit-box{display:inline;}form .input-text-wrap{border-style:solid;border-width:1px;padding:2px 3px;border-color:#ccc;}#dashboard-widgets form .input-text-wrap input{border:0 none;outline:none;margin:0;padding:0;width:99%;color:#333;}form .textarea-wrap{border-style:solid;border-width:1px;padding:2px;border-color:#ccc;}#dashboard-widgets form .textarea-wrap textarea{border:0 none;padding:0;outline:none;width:99%;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;}#dashboard-widgets .postbox form .submit{float:none;margin:.5em 0 0;padding:0;border:none;}#dashboard-widgets-wrap #dashboard-widgets .postbox form .submit input{margin:0;}#dashboard-widgets-wrap #dashboard-widgets .postbox form .submit #publish{min-width:0;}div.postbox div.inside{margin:10px;position:relative;}#dashboard-widgets a{text-decoration:none;}#dashboard-widgets h3 a{text-decoration:underline;}#dashboard-widgets h3 .postbox-title-action{position:absolute;right:30px;padding:0;}#dashboard-widgets h4{font-family:Georgia,&quot;Times New Roman&quot;,&quot;Bitstream Charter&quot;,Times,serif;font-size:13px;margin:0 0 .2em;padding:0;}#dashboard_right_now p.sub,#dashboard_right_now .table,#dashboard_right_now .versions{margin:-12px;}#dashboard_right_now .inside{font-size:12px;}#dashboard_right_now p.sub{font-style:italic;font-family:Georgia,&quot;Times New Roman&quot;,&quot;Bitstream Charter&quot;,Times,serif;padding:5px 10px 15px;color:#777;font-size:13px;}#dashboard_right_now .table{background:#f9f9f9;border-top:#ececec 1px solid;border-bottom:#ececec 1px solid;margin:0 -9px 10px;padding:0 10px;}#dashboard_right_now table{width:100%;}#dashboard_right_now table td{border-top:#ececec 1px solid;padding:3px 0;white-space:nowrap;}#dashboard_right_now table tr.first td{border-top:none;}#dashboard_right_now td.b{padding-right:6px;text-align:right;font-family:Georgia,&quot;Times New Roman&quot;,&quot;Bitstream Charter&quot;,Times,serif;font-size:14px;}#dashboard_right_now td.b a{font-size:18px;}#dashboard_right_now td.b a:hover{color:#d54e21;}#dashboard_right_now .t{font-size:12px;padding-right:12px;padding-top:6px;color:#777;}#dashboard_right_now .t a{white-space:nowrap;}#dashboard_right_now td.first,#dashboard_right_now td.last{width:1%;}#dashboard_right_now .spam{color:red;}#dashboard_right_now .waiting{color:#e66f00;}#dashboard_right_now .approved{color:green;}#dashboard_right_now .versions{padding:6px 10px 12px;}#dashboard_right_now .versions .b{font-weight:bold;}#dashboard_right_now a.button{float:right;clear:right;position:relative;top:-5px;}#dashboard_recent_comments h3{margin-bottom:0;}#dashboard_recent_comments .inside{margin-top:0;}#dashboard_recent_comments .comment-meta .approve{font-style:italic;font-family:&quot;Lucida Grande&quot;,Verdana,Arial,&quot;Bitstream Vera Sans&quot;,sans-serif;font-size:10px;}#the-comment-list{position:relative;}#the-comment-list .comment-item{padding:1em 10px;border-top:1px solid;}#the-comment-list .pingback{padding-left:9px!important;}#the-comment-list .comment-item,#the-comment-list #replyrow{margin:0 -10px;}#the-comment-list .comment-item:first-child{border-top:none;}#the-comment-list .comment-item .avatar{float:left;margin:0 10px 5px 0;}#the-comment-list .comment-item h4{line-height:1.4;margin-top:-.2em;font-weight:normal;color:#999;}#the-comment-list .comment-item h4 cite{font-style:normal;font-weight:normal;}#the-comment-list .comment-item blockquote,#the-comment-list .comment-item blockquote p{margin:0;padding:0;display:inline;}#dashboard_recent_comments #the-comment-list .trackback blockquote,#dashboard_recent_comments #the-comment-list .pingback blockquote{display:block;}#the-comment-list .comment-item p.row-actions{margin:3px 0 0;padding:0;font-size:10px;}#dashboard_quick_press h4{font-family:&quot;Lucida Grande&quot;,Verdana,Arial,&quot;Bitstream Vera Sans&quot;,sans-serif;float:left;width:5.5em;clear:both;font-weight:normal;text-align:right;padding-top:5px;font-size:12px;}#dashboard_quick_press h4 label{margin-right:10px;}#dashboard_quick_press .input-text-wrap,#dashboard_quick_press .textarea-wrap{margin:0 0 1em 5em;}#dashboard_quick_press #media-buttons{margin:0 0 .5em 5em;padding:0 0 0 10px;font-size:11px;}#dashboard_quick_press #media-buttons a{vertical-align:bottom;}#dashboard-widgets #dashboard_quick_press form p.submit{margin-left:4.6em;}#dashboard-widgets #dashboard_quick_press form p.submit input{float:left;}#dashboard-widgets #dashboard_quick_press form p.submit #save-post{margin:0 1em 0 10px;}#dashboard-widgets #dashboard_quick_press form p.submit #publish{float:none;}#dashboard-widgets #dashboard_quick_press form p.submit img.waiting{vertical-align:middle;visibility:hidden;}#dashboard_recent_drafts ul{margin:0;padding:0;list-style:none;}#dashboard_recent_drafts ul li{margin-bottom:.6em;}#dashboard_recent_drafts h4{font-weight:normal;}#dashboard_recent_drafts h4 abbr{font-family:&quot;Lucida Grande&quot;,Verdana,Arial,&quot;Bitstream Vera Sans&quot;,sans-serif;font-size:11px;color:#999;margin-left:3px;}#dashboard_recent_drafts p{margin:0;padding:0;}.rss-widget ul{margin:0;padding:0;list-style:none;}a.rsswidget{font-size:13px;font-family:Georgia,&quot;Times New Roman&quot;,&quot;Bitstream Charter&quot;,Times,serif;line-height:1.7em;}.rss-widget ul li{line-height:1.5em;margin-bottom:12px;}.rss-widget span.rss-date{margin-left:3px;}.rss-widget cite{display:block;text-align:right;margin:0 0 1em;padding:0;}.rss-widget cite:before{content:'\2014';}#dashboard_plugins h4{font-family:&quot;Lucida Grande&quot;,Verdana,Arial,&quot;Bitstream Vera Sans&quot;,sans-serif;}#dashboard_plugins h5{font-family:Georgia,&quot;Times New Roman&quot;,&quot;Bitstream Charter&quot;,Times,serif;font-size:13px!important;margin:0;display:inline;line-height:1.4em;}#dashboard_plugins h5 a{font-weight:normal;line-height:1.7em;}#dashboard_plugins p{margin:0 0 1.4em;line-height:1.4em;}.dashboard-comment-wrap{overflow:hidden;word-wrap:break-word;}
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpadmincssdashboarddevcss"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/css/dashboard.dev.css (13084 => 13085)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/css/dashboard.dev.css        2010-02-13 04:39:39 UTC (rev 13084)
+++ trunk/wp-admin/css/dashboard.dev.css        2010-02-13 05:35:47 UTC (rev 13085)
</span><span class="lines">@@ -299,9 +299,14 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> #dashboard-widgets #dashboard_quick_press form p.submit #publish {
</span><del>-        float: right;
</del><ins>+        float: none;
</ins><span class="cx"> }
</span><span class="cx"> 
</span><ins>+#dashboard-widgets #dashboard_quick_press form p.submit img.waiting {
+        vertical-align: middle;
+        visibility: hidden;
+}
+
</ins><span class="cx"> /* Recent Drafts */
</span><span class="cx"> #dashboard_recent_drafts ul {
</span><span class="cx">         margin: 0;
</span></span></pre></div>
<a id="trunkwpadminincludesdashboardphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/dashboard.php (13084 => 13085)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/dashboard.php        2010-02-13 04:39:39 UTC (rev 13084)
+++ trunk/wp-admin/includes/dashboard.php        2010-02-13 05:35:47 UTC (rev 13085)
</span><span class="lines">@@ -422,11 +422,10 @@
</span><span class="cx">                         &lt;?php wp_nonce_field('add-post'); ?&gt;
</span><span class="cx">                         &lt;input type=&quot;submit&quot; name=&quot;save&quot; id=&quot;save-post&quot; class=&quot;button&quot; tabindex=&quot;4&quot; value=&quot;&lt;?php esc_attr_e('Save Draft'); ?&gt;&quot; /&gt;
</span><span class="cx">                         &lt;input type=&quot;reset&quot; value=&quot;&lt;?php esc_attr_e( 'Reset' ); ?&gt;&quot; class=&quot;button&quot; /&gt;
</span><del>-                        &lt;?php if ( current_user_can('publish_posts') ) { ?&gt;
-                        &lt;input type=&quot;submit&quot; name=&quot;publish&quot; id=&quot;publish&quot; accesskey=&quot;p&quot; tabindex=&quot;5&quot; class=&quot;button-primary&quot; value=&quot;&lt;?php esc_attr_e('Publish'); ?&gt;&quot; /&gt;
-                        &lt;?php } else { ?&gt;
-                        &lt;input type=&quot;submit&quot; name=&quot;publish&quot; id=&quot;publish&quot; accesskey=&quot;p&quot; tabindex=&quot;5&quot; class=&quot;button-primary&quot; value=&quot;&lt;?php esc_attr_e('Submit for Review'); ?&gt;&quot; /&gt;
-                        &lt;?php } ?&gt;
</del><ins>+                        &lt;span id=&quot;publishing-action&quot;&gt;
+                                &lt;img class=&quot;waiting&quot; src=&quot;images/wpspin_light.gif&quot; /&gt;
+                                &lt;input type=&quot;submit&quot; name=&quot;publish&quot; id=&quot;publish&quot; accesskey=&quot;p&quot; tabindex=&quot;5&quot; class=&quot;button-primary&quot; value=&quot;&lt;?php current_user_can('publish_posts') ? esc_attr_e('Publish') : esc_attr_e('Submit for Review'); ?&gt;&quot; /&gt;
+                        &lt;/span&gt;
</ins><span class="cx">                         &lt;br class=&quot;clear&quot; /&gt;
</span><span class="cx">                 &lt;/p&gt;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkwpadminjsdashboarddevjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/js/dashboard.dev.js (13084 => 13085)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/js/dashboard.dev.js        2010-02-13 04:39:39 UTC (rev 13084)
+++ trunk/wp-admin/js/dashboard.dev.js        2010-02-13 05:35:47 UTC (rev 13085)
</span><span class="lines">@@ -43,7 +43,7 @@
</span><span class="cx">         quickPressLoad = function() {
</span><span class="cx">                 var act = $('#quickpost-action'), t;
</span><span class="cx">                 t = $('#quick-press').submit( function() {
</span><del>-                        $('#dashboard_quick_press h3').append( '&lt;img src=&quot;images/wpspin_light.gif&quot; style=&quot;margin: 0 6px 0 0; vertical-align: middle&quot; /&gt;' );
</del><ins>+                        $('#dashboard_quick_press #publishing-action img.waiting').css('visibility', 'visible');
</ins><span class="cx">                         $('#quick-press .submit input[type=&quot;submit&quot;], #quick-press .submit input[type=&quot;reset&quot;]').attr('disabled','disabled');
</span><span class="cx"> 
</span><span class="cx">                         if ( 'post' == act.val() ) {
</span><span class="lines">@@ -51,7 +51,7 @@
</span><span class="cx">                         }
</span><span class="cx"> 
</span><span class="cx">                         $('#dashboard_quick_press div.inside').load( t.attr( 'action' ), t.serializeArray(), function() {
</span><del>-                                $('#dashboard_quick_press h3 img').remove();
</del><ins>+                                $('#dashboard_quick_press #publishing-action img.waiting').css('visibility', 'hidden');
</ins><span class="cx">                                 $('#quick-press .submit input[type=&quot;submit&quot;], #quick-press .submit input[type=&quot;reset&quot;]').attr('disabled','');
</span><span class="cx">                                 $('#dashboard_quick_press ul').find('li').each( function() {
</span><span class="cx">                                         $('#dashboard_recent_drafts ul').prepend( this );
</span></span></pre></div>
<a id="trunkwpadminjsdashboardjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/js/dashboard.js (13084 => 13085)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/js/dashboard.js        2010-02-13 04:39:39 UTC (rev 13084)
+++ trunk/wp-admin/js/dashboard.js        2010-02-13 05:35:47 UTC (rev 13085)
</span><span class="lines">@@ -1 +1 @@
</span><del>-var ajaxWidgets,ajaxPopulateWidgets,quickPressLoad;jQuery(document).ready(function(a){ajaxWidgets=[&quot;dashboard_incoming_links&quot;,&quot;dashboard_primary&quot;,&quot;dashboard_secondary&quot;,&quot;dashboard_plugins&quot;];ajaxPopulateWidgets=function(b){show=function(g,c){var f,d=a(&quot;#&quot;+g+&quot; div.inside:visible&quot;).find(&quot;.widget-loading&quot;);if(d.length){f=d.parent();setTimeout(function(){f.load(&quot;index-extra.php?jax=&quot;+g,&quot;&quot;,function(){f.hide().slideDown(&quot;normal&quot;,function(){a(this).css(&quot;display&quot;,&quot;&quot;);if(&quot;dashboard_plugins&quot;==g&amp;&amp;a.isFunction(tb_init)){tb_init(&quot;#dashboard_plugins a.thickbox&quot;)}})})},c*500)}};if(b){b=b.toString();if(a.inArray(b,ajaxWidgets)!=-1){show(b,0)}}else{a.each(ajaxWidgets,function(c){show(this,c)})}};ajaxPopulateWidgets();postboxes.add_postbox_toggles(&quot;dashboard&quot;,{pbshow:ajaxPopulateWidgets});quickPressLoad=function(){var b=a(&quot;#quickpost-action&quot;),c;c=a(&quot;#quick-press&quot;).submit(function(){a(&quot;#dashboard_quick_press h3&quot;).append('&lt;img src=&quot;images/wpspin_light.gif&quot; style=&quot;margin: 0 6px 0 0; vertical-align: middle&quot; /&gt;');a('#quick-press .submit input[type=&quot;submit&quot;], #quick-press .submit input[type=&quot;reset&quot;]').attr(&quot;disabled&quot;,&quot;disabled&quot;);if(&quot;post&quot;==b.val()){b.val(&quot;post-quickpress-publish&quot;)}a(&quot;#dashboard_quick_press div.inside&quot;).load(c.attr(&quot;action&quot;),c.serializeArray(),function(){a(&quot;#dashboard_quick_press h3 img&quot;).remove();a('#quick-press .submit input[type=&quot;submit&quot;], #quick-press .submit input[type=&quot;reset&quot;]').attr(&quot;disabled&quot;,&quot;&quot;);a(&quot;#dashboard_quick_press ul&quot;).find(&quot;li&quot;).each(function(){a(&quot;#dashboard_recent_drafts ul&quot;).prepend(this)}).end().remove();tb_init(&quot;a.thickbox&quot;);quickPressLoad()});return false});a(&quot;#publish&quot;).click(function(){b.val(&quot;post-quickpress-publish&quot;)})};quickPressLoad()});
</del><span class="cx">\ No newline at end of file
</span><ins>+var ajaxWidgets,ajaxPopulateWidgets,quickPressLoad;jQuery(document).ready(function(a){ajaxWidgets=[&quot;dashboard_incoming_links&quot;,&quot;dashboard_primary&quot;,&quot;dashboard_secondary&quot;,&quot;dashboard_plugins&quot;];ajaxPopulateWidgets=function(b){show=function(g,c){var f,d=a(&quot;#&quot;+g+&quot; div.inside:visible&quot;).find(&quot;.widget-loading&quot;);if(d.length){f=d.parent();setTimeout(function(){f.load(&quot;index-extra.php?jax=&quot;+g,&quot;&quot;,function(){f.hide().slideDown(&quot;normal&quot;,function(){a(this).css(&quot;display&quot;,&quot;&quot;);if(&quot;dashboard_plugins&quot;==g&amp;&amp;a.isFunction(tb_init)){tb_init(&quot;#dashboard_plugins a.thickbox&quot;)}})})},c*500)}};if(b){b=b.toString();if(a.inArray(b,ajaxWidgets)!=-1){show(b,0)}}else{a.each(ajaxWidgets,function(c){show(this,c)})}};ajaxPopulateWidgets();postboxes.add_postbox_toggles(&quot;dashboard&quot;,{pbshow:ajaxPopulateWidgets});quickPressLoad=function(){var b=a(&quot;#quickpost-action&quot;),c;c=a(&quot;#quick-press&quot;).submit(function(){a(&quot;#dashboard_quick_press #publishing-action img.waiting&quot;).css(&quot;visibility&quot;,&quot;visible&quot;);a('#quick-press .submit input[type=&quot;submit&quot;], #quick-press .submit input[type=&quot;reset&quot;]').attr(&quot;disabled&quot;,&quot;disabled&quot;);if(&quot;post&quot;==b.val()){b.val(&quot;post-quickpress-publish&quot;)}a(&quot;#dashboard_quick_press div.inside&quot;).load(c.attr(&quot;action&quot;),c.serializeArray(),function(){a(&quot;#dashboard_quick_press #publishing-action img.waiting&quot;).css(&quot;visibility&quot;,&quot;hidden&quot;);a('#quick-press .submit input[type=&quot;submit&quot;], #quick-press .submit input[type=&quot;reset&quot;]').attr(&quot;disabled&quot;,&quot;&quot;);a(&quot;#dashboard_quick_press ul&quot;).find(&quot;li&quot;).each(function(){a(&quot;#dashboard_recent_drafts ul&quot;).prepend(this)}).end().remove();tb_init(&quot;a.thickbox&quot;);quickPressLoad()});return false});a(&quot;#publish&quot;).click(function(){b.val(&quot;post-quickpress-publish&quot;)})};quickPressLoad()});
</ins><span class="cx">\ No newline at end of file
</span></span></pre>
</div>
</div>

</body>
</html>