[pLog-svn] r1563 - plog/trunk/js/ui

oscar at devel.plogworld.net oscar at devel.plogworld.net
Mon Mar 21 00:26:23 GMT 2005


Author: oscar
Date: 2005-03-21 00:26:23 +0000 (Mon, 21 Mar 2005)
New Revision: 1563

Modified:
   plog/trunk/js/ui/plogui.js
Log:
some cleanups

Modified: plog/trunk/js/ui/plogui.js
===================================================================
--- plog/trunk/js/ui/plogui.js	2005-03-21 00:09:11 UTC (rev 1562)
+++ plog/trunk/js/ui/plogui.js	2005-03-21 00:26:23 UTC (rev 1563)
@@ -101,7 +101,8 @@
 	
 	if( !matches ) {
 		postId = "";
-		window.alert( "There was an error in the following response message:\n" + message );
+		//window.alert( "There was an error in the following response message:\n" + message );
+		window.alert( msgErrorSavingDraft );
 		window.status = msgErrorSavingDraft;
 	}
 	else {
@@ -110,9 +111,9 @@
 			// set the value of the new post identifier
 			document.newPost.postId.value = postId;
 			// show a message
-			window.alert( msgDraftSavedOk + " " + postId );
+			window.alert( msgDraftSavedOk + " ( id = " + postId + ")" );
 			// and update the status bar
-			window.status = msgDraftSavedOk + " " + postId;
+			window.status = msgDraftSavedOk + " ( id = " + postId + ")";
 		}
 	}
 }




More information about the pLog-svn mailing list