summaryrefslogtreecommitdiffstats
path: root/wp-includes/js
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-09-12 15:36:57 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-09-12 15:36:57 +0000
commitf41f35fc323e7aae3f8c9d7e696eb54e306cc679 (patch)
tree6c998f4e79b9e79b823e01215a2b3f7b0a8e5f90 /wp-includes/js
parent7a2ba28084eb8b23f9109473d7c57f14c3a059a2 (diff)
WP Merge to rev 4185
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@743 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-includes/js')
-rw-r--r--wp-includes/js/autosave.js.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/wp-includes/js/autosave.js.php b/wp-includes/js/autosave.js.php
index 4db6ff9..cbd8e57 100644
--- a/wp-includes/js/autosave.js.php
+++ b/wp-includes/js/autosave.js.php
@@ -103,6 +103,10 @@ function autosave() {
autosaveAjax.setVar("post_ID", $("post_ID").value);
autosaveAjax.setVar("post_title", form.post_title.value);
autosaveAjax.setVar("post_type", form.post_type.value);
+ if ( form.comment_status.checked )
+ autosaveAjax.setVar("comment_status", 'open');
+ if ( form.ping_status.checked )
+ autosaveAjax.setVar("ping_status", 'open');
if(form.excerpt)
autosaveAjax.setVar("excerpt", form.excerpt.value);