From 9415bbca12c01c39da58e0ed2c4e6b44ff833e5d Mon Sep 17 00:00:00 2001 From: donncha Date: Thu, 30 Nov 2006 18:54:22 +0000 Subject: WP Merge to 4559 git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@816 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-includes/js/autosave.js.php | 10 +++++----- wp-includes/js/list-manipulation-js.php | 4 ++-- wp-includes/js/tinymce/wp-mce-help.php | 2 +- wp-includes/js/wp-ajax-js.php | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) (limited to 'wp-includes/js') diff --git a/wp-includes/js/autosave.js.php b/wp-includes/js/autosave.js.php index 2e76230..934bfa0 100644 --- a/wp-includes/js/autosave.js.php +++ b/wp-includes/js/autosave.js.php @@ -38,9 +38,9 @@ function autosave_update_post_ID() { var message; if(isNaN(res)) { - message = "" + response; + message = "" + response; } else { - message = "" + autosave_cur_time(); + message = "" + autosave_cur_time(); $('post_ID').name = "post_ID"; $('post_ID').value = res; // We need new nonces @@ -60,7 +60,7 @@ function autosave_update_post_ID() { } function autosave_loading() { - $('autosave').innerHTML = ""; + $('autosave').innerHTML = ""; } function autosave_saved() { @@ -69,9 +69,9 @@ function autosave_saved() { var message; if(isNaN(res)) { - message = "" + response; + message = "" + response; } else { - message = "" + autosave_cur_time() + "."; + message = "" + autosave_cur_time() + "."; } $('autosave').innerHTML = message; } diff --git a/wp-includes/js/list-manipulation-js.php b/wp-includes/js/list-manipulation-js.php index 112d19f..eb67077 100644 --- a/wp-includes/js/list-manipulation-js.php +++ b/wp-includes/js/list-manipulation-js.php @@ -1,6 +1,6 @@ addLoadEvent(function(){theList=new listMan();}); -function deleteSomething(what,id,message,obj){if(!obj)obj=theList;if(!message)message="";if(confirm(message))return obj.ajaxDelete(what,id);else return false;} +function deleteSomething(what,id,message,obj){if(!obj)obj=theList;if(!message)message="";if(confirm(message))return obj.ajaxDelete(what,id);else return false;} function dimSomething(what,id,dimClass,obj){if(!obj)obj=theList;return obj.ajaxDimmer(what,id,dimClass);} var listMan = Class.create(); @@ -47,7 +47,7 @@ Object.extend(listMan.prototype, { if ( tempObj.showLink ) tempObj.showLink = id; }); - ajaxAdd.myResponseElement.update(tempObj.showLink ? ( "" ) : ''); + ajaxAdd.myResponseElement.update(tempObj.showLink ? ( "" ) : ''); } if ( tempObj.addComplete && typeof tempObj.addComplete == 'function' ) tempObj.addComplete( what, where, update, transport ); diff --git a/wp-includes/js/tinymce/wp-mce-help.php b/wp-includes/js/tinymce/wp-mce-help.php index d9d376b..2daf7ef 100644 --- a/wp-includes/js/tinymce/wp-mce-help.php +++ b/wp-includes/js/tinymce/wp-mce-help.php @@ -164,7 +164,7 @@