r1291 - xwiki-sandbox/formeditor

Nebojsa Miletic mileticn at users.forge.objectweb.org
Thu Sep 7 01:28:16 CEST 2006


Author: mileticn
Date: 2006-09-07 01:26:21 +0200 (Thu, 07 Sep 2006)
New Revision: 1291

Modified:
   xwiki-sandbox/formeditor/main.js
Log:


Modified: xwiki-sandbox/formeditor/main.js
===================================================================
--- xwiki-sandbox/formeditor/main.js	2006-09-06 23:20:36 UTC (rev 1290)
+++ xwiki-sandbox/formeditor/main.js	2006-09-06 23:26:21 UTC (rev 1291)
@@ -115,8 +115,9 @@
 			loadForm();
 		}
 		else {
-			alert("IMPORTANT! The form you wish to edit has been changed outside the XWiki FormEditor.\n \
-					Any saving of the form from the FormEditor will create new version of the form and outer changes will be deleted.");
+			alert('IMPORTANT! The form you wish to edit has been changed outside the XWiki FormEditor.\n \
+					The FormEditor has saved the form as version: ' + versionNum + ' and the current version of the form is ' + descriptor.version + '. \n \
+					Any saving of the form from the FormEditor will create new version of the form and outer changes will be deleted.');
 		}
 	}
 }





More information about the Xwiki-notifications mailing list