Update of /var/cvs/applications/editwizard/templates/javascript
In directory james.mmbase.org:/tmp/cvs-serv20570
Modified Files:
Tag: MMBase-1_8
editwizard.jsp
Log Message:
spacing only
See also:
http://cvs.mmbase.org/viewcvs/applications/editwizard/templates/javascript
Index: editwizard.jsp
===================================================================
RCS file: /var/cvs/applications/editwizard/templates/javascript/editwizard.jsp,v
retrieving revision 1.62.2.10
retrieving revision 1.62.2.11
diff -u -b -r1.62.2.10 -r1.62.2.11
--- editwizard.jsp 3 Mar 2009 11:41:12 -0000 1.62.2.10
+++ editwizard.jsp 4 Mar 2009 18:07:09 -0000 1.62.2.11
@@ -1,17 +1,16 @@
-<% response.setContentType("text/javascript"); %>
-/**
+/** -*- mode: java -*-
* editwizard.jsp
* Routines for refreshing the edit wizard,
* interaction between form elements, navigation,
* and validation (in validator.js)
*
* @since MMBase-1.6
- * @version $Id: editwizard.jsp,v 1.62.2.10 2009/03/03 11:41:12 michiel Exp $
+ * @version $Id: editwizard.jsp,v 1.62.2.11 2009/03/04 18:07:09 michiel Exp $
* @author Kars Veling
* @author Pierre van Rooden
* @author Nico Klasens
*/
-
+<% response.setContentType("text/javascript"); %>
var form = null;
function doOnLoad_ew() {
@@ -23,8 +22,10 @@
//scan form fields
for (var i=0; i<form.elements.length; i++) {
+
var elem = form.elements[i];
+
// set date fields to clientside now time if a new wizard.
var superId = elem.getAttribute("super");
if (superId != null) {
@@ -94,6 +95,7 @@
// In short, DON'T USE OR OVERRIDE THIS FUNCTION.
}
+
//********************************
// COMMAND STUFF
//********************************
@@ -165,7 +167,7 @@
// however, if the first field is a "<buildername>.number" field, that
buildername is used
var lastobject = main;
- if (lastobject == null) lastobject = "":
+ if (lastobject == null) lastobject = "";
if (lastobject == "") {
var tmp = nodepath.split(",");
if (tmp.length > 1) {
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs