<!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>[17931] trunk/wp-includes: Remove blocking alert when login cookie has expired.</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://trac.wordpress.org/changeset/17931">17931</a></dd>
<dt>Author</dt> <dd>azaozz</dd>
<dt>Date</dt> <dd>2011-05-15 05:48:35 +0000 (Sun, 15 May 2011)</dd>
</dl>

<h3>Log Message</h3>
<pre>Remove blocking alert when login cookie has expired.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpincludesjsautosavedevjs">trunk/wp-includes/js/autosave.dev.js</a></li>
<li><a href="#trunkwpincludesjsautosavejs">trunk/wp-includes/js/autosave.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="trunkwpincludesjsautosavedevjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/autosave.dev.js (17930 => 17931)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/autosave.dev.js        2011-05-14 19:57:24 UTC (rev 17930)
+++ trunk/wp-includes/js/autosave.dev.js        2011-05-15 05:48:35 UTC (rev 17931)
</span><span class="lines">@@ -105,7 +105,6 @@
</span><span class="cx">                         if ( sup['alert'] ) {
</span><span class="cx">                                 jQuery('#autosave-alert').remove();
</span><span class="cx">                                 jQuery('#titlediv').after('&lt;div id=&quot;autosave-alert&quot; class=&quot;error below-h2&quot;&gt;&lt;p&gt;' + sup['alert'] + '&lt;/p&gt;&lt;/div&gt;');
</span><del>-                                alert( jQuery('#autosave-alert').text() );
</del><span class="cx">                         }
</span><span class="cx"> 
</span><span class="cx">                         jQuery.each(sup, function(selector, value) {
</span></span></pre></div>
<a id="trunkwpincludesjsautosavejs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/autosave.js (17930 => 17931)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/autosave.js        2011-05-14 19:57:24 UTC (rev 17930)
+++ trunk/wp-includes/js/autosave.js        2011-05-15 05:48:35 UTC (rev 17931)
</span><span class="lines">@@ -1 +1 @@
</span><del>-var autosave,autosaveLast=&quot;&quot;,autosavePeriodical,autosaveOldMessage=&quot;&quot;,autosaveDelayPreview=false,notSaved=true,blockSave=false,fullscreen;jQuery(document).ready(function(b){var a=true;autosaveLast=b(&quot;#post #title&quot;).val()+b(&quot;#post #content&quot;).val();autosavePeriodical=b.schedule({time:autosaveL10n.autosaveInterval*1000,func:function(){autosave()},repeat:true,protect:true});b(&quot;#post&quot;).submit(function(){b.cancel(autosavePeriodical)});b('input[type=&quot;submit&quot;], a.submitdelete',&quot;#submitpost&quot;).click(function(){blockSave=true;window.onbeforeunload=null;b(&quot;:button, :submit&quot;,&quot;#submitpost&quot;).each(function(){var c=b(this);if(c.hasClass(&quot;button-primary&quot;)){c.addClass(&quot;button-primary-disabled&quot;)}else{c.addClass(&quot;button-disabled&quot;)}});if(b(this).attr(&quot;id&quot;)==&quot;publish&quot;){b(&quot;#ajax-loading&quot;).css(&quot;visibility&quot;,&quot;visible&quot;)}els
 e{b(&quot;#draft-ajax-loading&quot;).css(&quot;visibility&quot;,&quot;visible&quot;)}});window.onbeforeunload=function(){var c=typeof(tinyMCE)!=&quot;undefined&quot;?tinyMCE.activeEditor:false,e,d;if(c&amp;&amp;!c.isHidden()){if(c.isDirty()){return autosaveL10n.saveAlert}}else{if(fullscreen&amp;&amp;fullscreen.visible){e=b(&quot;#wp-fullscreen-title&quot;).val();d=b(&quot;#wp_mce_fullscreen&quot;).val()}else{e=b(&quot;#post #title&quot;).val();d=b(&quot;#post #content&quot;).val()}if((e||d)&amp;&amp;e+d!=autosaveLast){return autosaveL10n.saveAlert}}};b(&quot;#post-preview&quot;).click(function(){if(b(&quot;#auto_draft&quot;).val()==&quot;1&quot;&amp;&amp;notSaved){autosaveDelayPreview=true;autosave();return false}doPreview();return false});doPreview=function(){b(&quot;input#wp-preview&quot;).val(&quot;dopreview&quot;);b(&quot;form#post&quot;).attr(&quot;target&quot;,&quot;wp-preview&quot;).submit().attr(&quot;target&quot;,&quot;&quot;);b(&quot;input#wp-preview&quot;).val(&qu
 ot;&quot;)};if(typeof tinyMCE!=&quot;undefined&quot;){b(&quot;#title&quot;)[b.browser.opera?&quot;keypress&quot;:&quot;keydown&quot;](function(c){if(c.which==9&amp;&amp;!c.shiftKey&amp;&amp;!c.controlKey&amp;&amp;!c.altKey){if((b(&quot;#auto_draft&quot;).val()==&quot;1&quot;)&amp;&amp;(b(&quot;#title&quot;).val().length&gt;0)){autosave()}if(tinyMCE.activeEditor&amp;&amp;!tinyMCE.activeEditor.isHidden()&amp;&amp;a){c.preventDefault();a=false;tinyMCE.activeEditor.focus();return false}}})}if(&quot;1&quot;==b(&quot;#auto_draft&quot;).val()){b(&quot;#title&quot;).blur(function(){if(!this.value||b(&quot;#auto_draft&quot;).val()!=&quot;1&quot;){return}delayed_autosave()})}});function autosave_parse_response(c){var d=wpAjax.parseAjaxResponse(c,&quot;autosave&quot;),e=&quot;&quot;,a,b;if(d&amp;&amp;d.responses&amp;&amp;d.responses.length){e=d.responses[0].data;if(d.responses[0].supplemental){b=d.responses[0].supplemental;if(&quot;disable&quot;==b.disable_autosave){autosave=function()
 {};d={errors:true}}if(b.alert){jQuery(&quot;#autosave-alert&quot;).remove();jQuery(&quot;#titlediv&quot;).after('&lt;div id=&quot;autosave-alert&quot; class=&quot;error below-h2&quot;&gt;&lt;p&gt;'+b.alert+&quot;&lt;/p&gt;&lt;/div&gt;&quot;);alert(jQuery(&quot;#autosave-alert&quot;).text())}jQuery.each(b,function(f,g){if(f.match(/^replace-/)){jQuery(&quot;#&quot;+f.replace(&quot;replace-&quot;,&quot;&quot;)).val(g)}})}if(!d.errors){a=parseInt(d.responses[0].id,10);if(!isNaN(a)&amp;&amp;a&gt;0){autosave_update_slug(a)}}}if(e){jQuery(&quot;.autosave-message&quot;).html(e)}else{if(autosaveOldMessage&amp;&amp;d){jQuery(&quot;.autosave-message&quot;).html(autosaveOldMessage)}}return d}function autosave_saved(a){blockSave=false;autosave_parse_response(a);autosave_enable_buttons()}function autosave_saved_new(b){blockSave=false;var c=autosave_parse_response(b),a;if(c&amp;&amp;c.responses.length&amp;&amp;!c.errors){a=parseInt(c.responses[0].id,10);if(!isNaN(a)&amp;&amp;a&gt;0){notSav
 ed=false;jQuery(&quot;#auto_draft&quot;).val(&quot;0&quot;)}autosave_enable_buttons();if(autosaveDelayPreview){autosaveDelayPreview=false;doPreview()}}else{autosave_enable_buttons()}}function autosave_update_slug(a){if(&quot;undefined&quot;!=makeSlugeditClickable&amp;&amp;jQuery.isFunction(makeSlugeditClickable)&amp;&amp;!jQuery(&quot;#edit-slug-box &gt; *&quot;).size()){jQuery.post(ajaxurl,{action:&quot;sample-permalink&quot;,post_id:a,new_title:fullscreen&amp;&amp;fullscreen.visible?jQuery(&quot;#wp-fullscreen-title&quot;).val():jQuery(&quot;#title&quot;).val(),samplepermalinknonce:jQuery(&quot;#samplepermalinknonce&quot;).val()},function(b){if(b!==&quot;-1&quot;){jQuery(&quot;#edit-slug-box&quot;).html(b);makeSlugeditClickable()}})}}function autosave_loading(){jQuery(&quot;.autosave-message&quot;).html(autosaveL10n.savingText)}function autosave_enable_buttons(){setTimeout(function(){jQuery(&quot;:button, :submit&quot;,&quot;#submitpost&quot;).removeAttr(&quot;disabled&quo
 t;);jQuery(&quot;.ajax-loading&quot;).css(&quot;visibility&quot;,&quot;hidden&quot;)},500)}function autosave_disable_buttons(){jQuery(&quot;:button, :submit&quot;,&quot;#submitpost&quot;).attr(&quot;disabled&quot;,&quot;disabled&quot;);setTimeout(autosave_enable_buttons,5000)}function delayed_autosave(){setTimeout(function(){if(blockSave){return}autosave()},200)}autosave=function(){blockSave=true;var c=(typeof tinyMCE!=&quot;undefined&quot;)&amp;&amp;tinyMCE.activeEditor&amp;&amp;!tinyMCE.activeEditor.isHidden(),d,f,b,e,a;autosave_disable_buttons();d={action:&quot;autosave&quot;,post_ID:jQuery(&quot;#post_ID&quot;).val()||0,autosavenonce:jQuery(&quot;#autosavenonce&quot;).val(),post_type:jQuery(&quot;#post_type&quot;).val()||&quot;&quot;,autosave:1};jQuery(&quot;.tags-input&quot;).each(function(){d[this.name]=this.value});f=true;if(jQuery(&quot;#TB_window&quot;).css(&quot;display&quot;)==&quot;block&quot;){f=false}if(c&amp;&amp;f){b=tinyMCE.activeEditor;if(b.plugins.spellche
 cker&amp;&amp;b.plugins.spellchecker.active){f=false}else{if(&quot;mce_fullscreen&quot;==b.id||&quot;wp_mce_fullscreen&quot;==b.id){tinyMCE.get(&quot;content&quot;).setContent(b.getContent({format:&quot;raw&quot;}),{format:&quot;raw&quot;})}tinyMCE.triggerSave()}}if(fullscreen&amp;&amp;fullscreen.visible){d.post_title=jQuery(&quot;#wp-fullscreen-title&quot;).val();d.content=jQuery(&quot;#wp_mce_fullscreen&quot;).val()}else{d.post_title=jQuery(&quot;#title&quot;).val();d.content=jQuery(&quot;#content&quot;).val()}if(jQuery(&quot;#post_name&quot;).val()){d.post_name=jQuery(&quot;#post_name&quot;).val()}if((d.post_title.length==0&amp;&amp;d.content.length==0)||d.post_title+d.content==autosaveLast){f=false}e=jQuery(&quot;#original_post_status&quot;).val();goodcats=([]);jQuery(&quot;[name='post_category[]']:checked&quot;).each(function(g){goodcats.push(this.value)});d.catslist=goodcats.join(&quot;,&quot;);if(jQuery(&quot;#comment_status&quot;).attr(&quot;checked&quot;)){d.comment
 _status=&quot;open&quot;}if(jQuery(&quot;#ping_status&quot;).attr(&quot;checked&quot;)){d.ping_status=&quot;open&quot;}if(jQuery(&quot;#excerpt&quot;).size()){d.excerpt=jQuery(&quot;#excerpt&quot;).val()}if(jQuery(&quot;#post_author&quot;).size()){d.post_author=jQuery(&quot;#post_author&quot;).val()}if(jQuery(&quot;#parent_id&quot;).val()){d.parent_id=jQuery(&quot;#parent_id&quot;).val()}d.user_ID=jQuery(&quot;#user-id&quot;).val();if(jQuery(&quot;#auto_draft&quot;).val()==&quot;1&quot;){d.auto_draft=&quot;1&quot;}if(f){autosaveLast=d.post_title+d.content}else{d.autosave=0}if(d.auto_draft==&quot;1&quot;){a=autosave_saved_new}else{a=autosave_saved}autosaveOldMessage=jQuery(&quot;#autosave&quot;).html();jQuery.ajax({data:d,beforeSend:f?autosave_loading:null,type:&quot;POST&quot;,url:autosaveL10n.requestFile,success:a})};
</del><span class="cx">\ No newline at end of file
</span><ins>+var autosave,autosaveLast=&quot;&quot;,autosavePeriodical,autosaveOldMessage=&quot;&quot;,autosaveDelayPreview=false,notSaved=true,blockSave=false,fullscreen;jQuery(document).ready(function(b){var a=true;autosaveLast=b(&quot;#post #title&quot;).val()+b(&quot;#post #content&quot;).val();autosavePeriodical=b.schedule({time:autosaveL10n.autosaveInterval*1000,func:function(){autosave()},repeat:true,protect:true});b(&quot;#post&quot;).submit(function(){b.cancel(autosavePeriodical)});b('input[type=&quot;submit&quot;], a.submitdelete',&quot;#submitpost&quot;).click(function(){blockSave=true;window.onbeforeunload=null;b(&quot;:button, :submit&quot;,&quot;#submitpost&quot;).each(function(){var c=b(this);if(c.hasClass(&quot;button-primary&quot;)){c.addClass(&quot;button-primary-disabled&quot;)}else{c.addClass(&quot;button-disabled&quot;)}});if(b(this).attr(&quot;id&quot;)==&quot;publish&quot;){b(&quot;#ajax-loading&quot;).css(&quot;visibility&quot;,&quot;visible&quot;)}els
 e{b(&quot;#draft-ajax-loading&quot;).css(&quot;visibility&quot;,&quot;visible&quot;)}});window.onbeforeunload=function(){var c=typeof(tinyMCE)!=&quot;undefined&quot;?tinyMCE.activeEditor:false,e,d;if(c&amp;&amp;!c.isHidden()){if(c.isDirty()){return autosaveL10n.saveAlert}}else{if(fullscreen&amp;&amp;fullscreen.visible){e=b(&quot;#wp-fullscreen-title&quot;).val();d=b(&quot;#wp_mce_fullscreen&quot;).val()}else{e=b(&quot;#post #title&quot;).val();d=b(&quot;#post #content&quot;).val()}if((e||d)&amp;&amp;e+d!=autosaveLast){return autosaveL10n.saveAlert}}};b(&quot;#post-preview&quot;).click(function(){if(b(&quot;#auto_draft&quot;).val()==&quot;1&quot;&amp;&amp;notSaved){autosaveDelayPreview=true;autosave();return false}doPreview();return false});doPreview=function(){b(&quot;input#wp-preview&quot;).val(&quot;dopreview&quot;);b(&quot;form#post&quot;).attr(&quot;target&quot;,&quot;wp-preview&quot;).submit().attr(&quot;target&quot;,&quot;&quot;);b(&quot;input#wp-preview&quot;).val(&qu
 ot;&quot;)};if(typeof tinyMCE!=&quot;undefined&quot;){b(&quot;#title&quot;)[b.browser.opera?&quot;keypress&quot;:&quot;keydown&quot;](function(c){if(c.which==9&amp;&amp;!c.shiftKey&amp;&amp;!c.controlKey&amp;&amp;!c.altKey){if((b(&quot;#auto_draft&quot;).val()==&quot;1&quot;)&amp;&amp;(b(&quot;#title&quot;).val().length&gt;0)){autosave()}if(tinyMCE.activeEditor&amp;&amp;!tinyMCE.activeEditor.isHidden()&amp;&amp;a){c.preventDefault();a=false;tinyMCE.activeEditor.focus();return false}}})}if(&quot;1&quot;==b(&quot;#auto_draft&quot;).val()){b(&quot;#title&quot;).blur(function(){if(!this.value||b(&quot;#auto_draft&quot;).val()!=&quot;1&quot;){return}delayed_autosave()})}});function autosave_parse_response(c){var d=wpAjax.parseAjaxResponse(c,&quot;autosave&quot;),e=&quot;&quot;,a,b;if(d&amp;&amp;d.responses&amp;&amp;d.responses.length){e=d.responses[0].data;if(d.responses[0].supplemental){b=d.responses[0].supplemental;if(&quot;disable&quot;==b.disable_autosave){autosave=function()
 {};d={errors:true}}if(b.alert){jQuery(&quot;#autosave-alert&quot;).remove();jQuery(&quot;#titlediv&quot;).after('&lt;div id=&quot;autosave-alert&quot; class=&quot;error below-h2&quot;&gt;&lt;p&gt;'+b.alert+&quot;&lt;/p&gt;&lt;/div&gt;&quot;)}jQuery.each(b,function(f,g){if(f.match(/^replace-/)){jQuery(&quot;#&quot;+f.replace(&quot;replace-&quot;,&quot;&quot;)).val(g)}})}if(!d.errors){a=parseInt(d.responses[0].id,10);if(!isNaN(a)&amp;&amp;a&gt;0){autosave_update_slug(a)}}}if(e){jQuery(&quot;.autosave-message&quot;).html(e)}else{if(autosaveOldMessage&amp;&amp;d){jQuery(&quot;.autosave-message&quot;).html(autosaveOldMessage)}}return d}function autosave_saved(a){blockSave=false;autosave_parse_response(a);autosave_enable_buttons()}function autosave_saved_new(b){blockSave=false;var c=autosave_parse_response(b),a;if(c&amp;&amp;c.responses.length&amp;&amp;!c.errors){a=parseInt(c.responses[0].id,10);if(!isNaN(a)&amp;&amp;a&gt;0){notSaved=false;jQuery(&quot;#auto_draft&quot;).val(&quot
 ;0&quot;)}autosave_enable_buttons();if(autosaveDelayPreview){autosaveDelayPreview=false;doPreview()}}else{autosave_enable_buttons()}}function autosave_update_slug(a){if(&quot;undefined&quot;!=makeSlugeditClickable&amp;&amp;jQuery.isFunction(makeSlugeditClickable)&amp;&amp;!jQuery(&quot;#edit-slug-box &gt; *&quot;).size()){jQuery.post(ajaxurl,{action:&quot;sample-permalink&quot;,post_id:a,new_title:fullscreen&amp;&amp;fullscreen.visible?jQuery(&quot;#wp-fullscreen-title&quot;).val():jQuery(&quot;#title&quot;).val(),samplepermalinknonce:jQuery(&quot;#samplepermalinknonce&quot;).val()},function(b){if(b!==&quot;-1&quot;){jQuery(&quot;#edit-slug-box&quot;).html(b);makeSlugeditClickable()}})}}function autosave_loading(){jQuery(&quot;.autosave-message&quot;).html(autosaveL10n.savingText)}function autosave_enable_buttons(){setTimeout(function(){jQuery(&quot;:button, :submit&quot;,&quot;#submitpost&quot;).removeAttr(&quot;disabled&quot;);jQuery(&quot;.ajax-loading&quot;).css(&quot;vi
 sibility&quot;,&quot;hidden&quot;)},500)}function autosave_disable_buttons(){jQuery(&quot;:button, :submit&quot;,&quot;#submitpost&quot;).attr(&quot;disabled&quot;,&quot;disabled&quot;);setTimeout(autosave_enable_buttons,5000)}function delayed_autosave(){setTimeout(function(){if(blockSave){return}autosave()},200)}autosave=function(){blockSave=true;var c=(typeof tinyMCE!=&quot;undefined&quot;)&amp;&amp;tinyMCE.activeEditor&amp;&amp;!tinyMCE.activeEditor.isHidden(),d,f,b,e,a;autosave_disable_buttons();d={action:&quot;autosave&quot;,post_ID:jQuery(&quot;#post_ID&quot;).val()||0,autosavenonce:jQuery(&quot;#autosavenonce&quot;).val(),post_type:jQuery(&quot;#post_type&quot;).val()||&quot;&quot;,autosave:1};jQuery(&quot;.tags-input&quot;).each(function(){d[this.name]=this.value});f=true;if(jQuery(&quot;#TB_window&quot;).css(&quot;display&quot;)==&quot;block&quot;){f=false}if(c&amp;&amp;f){b=tinyMCE.activeEditor;if(b.plugins.spellchecker&amp;&amp;b.plugins.spellchecker.active){f=fal
 se}else{if(&quot;mce_fullscreen&quot;==b.id||&quot;wp_mce_fullscreen&quot;==b.id){tinyMCE.get(&quot;content&quot;).setContent(b.getContent({format:&quot;raw&quot;}),{format:&quot;raw&quot;})}tinyMCE.triggerSave()}}if(fullscreen&amp;&amp;fullscreen.visible){d.post_title=jQuery(&quot;#wp-fullscreen-title&quot;).val();d.content=jQuery(&quot;#wp_mce_fullscreen&quot;).val()}else{d.post_title=jQuery(&quot;#title&quot;).val();d.content=jQuery(&quot;#content&quot;).val()}if(jQuery(&quot;#post_name&quot;).val()){d.post_name=jQuery(&quot;#post_name&quot;).val()}if((d.post_title.length==0&amp;&amp;d.content.length==0)||d.post_title+d.content==autosaveLast){f=false}e=jQuery(&quot;#original_post_status&quot;).val();goodcats=([]);jQuery(&quot;[name='post_category[]']:checked&quot;).each(function(g){goodcats.push(this.value)});d.catslist=goodcats.join(&quot;,&quot;);if(jQuery(&quot;#comment_status&quot;).attr(&quot;checked&quot;)){d.comment_status=&quot;open&quot;}if(jQuery(&quot;#ping_sta
 tus&quot;).attr(&quot;checked&quot;)){d.ping_status=&quot;open&quot;}if(jQuery(&quot;#excerpt&quot;).size()){d.excerpt=jQuery(&quot;#excerpt&quot;).val()}if(jQuery(&quot;#post_author&quot;).size()){d.post_author=jQuery(&quot;#post_author&quot;).val()}if(jQuery(&quot;#parent_id&quot;).val()){d.parent_id=jQuery(&quot;#parent_id&quot;).val()}d.user_ID=jQuery(&quot;#user-id&quot;).val();if(jQuery(&quot;#auto_draft&quot;).val()==&quot;1&quot;){d.auto_draft=&quot;1&quot;}if(f){autosaveLast=d.post_title+d.content}else{d.autosave=0}if(d.auto_draft==&quot;1&quot;){a=autosave_saved_new}else{a=autosave_saved}autosaveOldMessage=jQuery(&quot;#autosave&quot;).html();jQuery.ajax({data:d,beforeSend:f?autosave_loading:null,type:&quot;POST&quot;,url:autosaveL10n.requestFile,success:a})};
</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 (17930 => 17931)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/script-loader.php        2011-05-14 19:57:24 UTC (rev 17930)
+++ trunk/wp-includes/script-loader.php        2011-05-15 05:48:35 UTC (rev 17931)
</span><span class="lines">@@ -109,7 +109,7 @@
</span><span class="cx">                 'l10n_print_after' =&gt; 'try{convertEntities(wpAjax);}catch(e){};'
</span><span class="cx">         ) );
</span><span class="cx"> 
</span><del>-        $scripts-&gt;add( 'autosave', &quot;/wp-includes/js/autosave$suffix.js&quot;, array('schedule', 'wp-ajax-response'), '20110425' );
</del><ins>+        $scripts-&gt;add( 'autosave', &quot;/wp-includes/js/autosave$suffix.js&quot;, array('schedule', 'wp-ajax-response'), '20110514' );
</ins><span class="cx">         $scripts-&gt;add_data( 'autosave', 'group', 1 );
</span><span class="cx"> 
</span><span class="cx">         $scripts-&gt;add( 'wp-lists', &quot;/wp-includes/js/wp-lists$suffix.js&quot;, array('wp-ajax-response'), '20110504' );
</span></span></pre>
</div>
</div>

</body>
</html>