--- a/mod_admin_web/admin_web/www_files/js/main.js Wed Jan 18 01:24:41 2012 +0100
+++ b/mod_admin_web/admin_web/www_files/js/main.js Wed Jan 18 15:51:38 2012 +0100
@@ -202,7 +202,7 @@
.c('unsubscribe', {node: Strophe.NS.S2SSTREAM}));
adminsubHost = $(this).val();
adhocControl.checkFeatures(adminsubHost,
- function () { adhocControl.getCommandNodes(function (result) { $('#adhocDisplay').empty(); $('#adhocCommands').append(result); }) },
+ function () { adhocControl.getCommandNodes(function (result) { $('#adhocDisplay').empty(); $('#adhocCommands').html(result); }) },
function () { $('#adhocCommands').empty(); $('#adhocDisplay').html('<p>This host does not support commands</p>'); });
$('#s2sin').empty();
$('#s2sout').empty();