Update of /var/cvs/html/mmbase/edit/basic
In directory james.mmbase.org:/tmp/cvs-serv16562

Modified Files:
      Tag: MMBase-1_8
        change_node.jsp create_node.jsp search_node_with_type.jsp 
Log Message:
create_node.jsp


See also: http://cvs.mmbase.org/viewcvs/html/mmbase/edit/basic


Index: change_node.jsp
===================================================================
RCS file: /var/cvs/html/mmbase/edit/basic/change_node.jsp,v
retrieving revision 1.33.2.4
retrieving revision 1.33.2.5
diff -u -b -r1.33.2.4 -r1.33.2.5
--- change_node.jsp     18 Apr 2008 08:55:03 -0000      1.33.2.4
+++ change_node.jsp     19 Jun 2008 08:38:15 -0000      1.33.2.5
@@ -2,6 +2,7 @@
 %><mm:content language="$config.lang" country="$config.country" expires="0" 
type="text/html" postprocessor="none">
 <mm:cloud loginpage="login.jsp" sessionname="$config.session" jspvar="cloud" 
rank="$rank">
   <mm:param name="org.mmbase.xml-mode" value="$config.xmlmode" />
+  <mm:param name="show_broken" value="true" />
 <mm:write referid="style" escape="none" />
 <title><%= m.getString("change_node.change")%></title>
 </head>
@@ -26,7 +27,7 @@
        document.getElementById('savebutton').disabled = this.invalidElements 
!= 0;
     }
     validator.lang = '${config.lang}';
-    validator.setup(document);
+    validator.setup(window);
   </script>
 
 


Index: create_node.jsp
===================================================================
RCS file: /var/cvs/html/mmbase/edit/basic/create_node.jsp,v
retrieving revision 1.14.2.2
retrieving revision 1.14.2.3
diff -u -b -r1.14.2.2 -r1.14.2.3
--- create_node.jsp     18 Apr 2008 08:55:03 -0000      1.14.2.2
+++ create_node.jsp     19 Jun 2008 08:38:15 -0000      1.14.2.3
@@ -11,13 +11,13 @@
 <body class="basic" onLoad="document.create.elements[3].focus();">
 
   <script type="text/javascript">
-    var validator = new MMBaseValidator(document);
+    var validator = new MMBaseValidator();
     validator.prefetchNodeManager('${node_type}');
-    validator.validateHook = function(valid) {
+    validator.validateHook = function() {
        document.getElementById('okbutton').disabled = this.invalidElements != 
0;
     }
     validator.lang = '${config.lang}';
-    validator.setup();
+    validator.setup(window);
   </script>
 
 


Index: search_node_with_type.jsp
===================================================================
RCS file: /var/cvs/html/mmbase/edit/basic/search_node_with_type.jsp,v
retrieving revision 1.63
retrieving revision 1.63.2.1
diff -u -b -r1.63 -r1.63.2.1
_______________________________________________
Cvs mailing list
Cvs@lists.mmbase.org
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to