Update of /var/cvs/applications/editwizard/templates/javascript
In directory james.mmbase.org:/tmp/cvs-serv12851

Modified Files:
      Tag: MMBase-1_8
        editwizard.jsp 
Log Message:
Mark: bugfix if new 'main' feature not used


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.9
retrieving revision 1.62.2.10
diff -u -b -r1.62.2.9 -r1.62.2.10
--- editwizard.jsp      27 Feb 2009 12:02:20 -0000      1.62.2.9
+++ editwizard.jsp      3 Mar 2009 11:41:12 -0000       1.62.2.10
@@ -6,7 +6,7 @@
  * and validation (in validator.js)
  *
  * @since    MMBase-1.6
- * @version  $Id: editwizard.jsp,v 1.62.2.9 2009/02/27 12:02:20 pierre Exp $
+ * @version  $Id: editwizard.jsp,v 1.62.2.10 2009/03/03 11:41:12 michiel Exp $
  * @author   Kars Veling
  * @author   Pierre van Rooden
  * @author   Nico Klasens
@@ -165,7 +165,8 @@
     // however, if the first field is a "<buildername>.number" field, that 
buildername is used
 
     var lastobject = main;
-    if (lastobject == "" || lastobject == null) {
+    if (lastobject == null) lastobject = "":
+    if (lastobject == "") {
       var tmp = nodepath.split(",");
       if (tmp.length > 1) {
           lastobject = tmp[tmp.length-1];
_______________________________________________
Cvs mailing list
Cvs@lists.mmbase.org
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to