Mercurial > psgxs
comparison 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 |
comparison
equal
deleted
inserted
replaced
56:99bd1d1ac071 | 57:addbf6bbfaa8 |
---|---|
42 var conf = storage.getConfiguration(nodeID); | 42 var conf = storage.getConfiguration(nodeID); |
43 if (!conf) | 43 if (!conf) |
44 return makeError(response, 42); // FIXME | 44 return makeError(response, 42); // FIXME |
45 | 45 |
46 response.c('pubsub', {xmlns: NS.PUBSUB_OWNER}) | 46 response.c('pubsub', {xmlns: NS.PUBSUB_OWNER}) |
47 .c('configure', {node: nodeID}); | 47 .c('configure', {node: nodeID}) |
48 .cnode(forms.build('form', 'node_config', conf, true)); | |
48 | 49 |
49 var form = forms.build('form', 'node_config', conf, true); | |
50 response.cnode(form); | |
51 | 50 |
52 return response; | 51 return response; |
53 } | 52 } |
54 } | 53 } |
55 | 54 |