diff modules/mod_configure.js @ 57:addbf6bbfaa8

Various fixes for the migration to ltx.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Mon, 12 Sep 2011 23:45:00 +0200
parents 0d3f18bb1d36
children b98e545a94f7
line wrap: on
line diff
--- a/modules/mod_configure.js
+++ b/modules/mod_configure.js
@@ -44,10 +44,9 @@ exports.getConfigure = {
 			return makeError(response, 42); // FIXME
 
 		response.c('pubsub', {xmlns: NS.PUBSUB_OWNER})
-			.c('configure', {node: nodeID});
+			.c('configure', {node: nodeID})
+			.cnode(forms.build('form', 'node_config', conf, true));
 
-		var form = forms.build('form', 'node_config', conf, true);
-		response.cnode(form);
 
 		return response;
 	}