Skip to contentSkip to conversation

conga/luci/cluster resource_form_handlers.js

Cluster-devel [email protected] 1 participant 1 message Oct 7, 2006

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: conga
Changes by: rmccabe at sourceware.org 2006-10-07 20:12:47

Modified files:
luci/cluster : resource_form_handlers.js

Log message:
fix the input so that it is properly formed xml

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/resource_form_handlers.js.diff?cvsroot=cluster&r1=1.19&r2=1.20

luci/cluster/resource_form_handlers.js +1 -2
@@ -402,8 +402,7 @@
 		return (-1);
 
 	/* sort this out in the backend */
-	master_form.form_xml.value = form_xml;
-	/* alert(form_xml); */
+	master_form.form_xml.value = '<formlist>' + form_xml + '</formlist>';
 	if (confirm('Save changes to this service?'))
 		master_form.submit();
 	return (0);