WEBUI JS: Fix the idnode_tree (parameters missing)

This commit is contained in:
Jaroslav Kysela 2014-09-08 20:38:23 +02:00
parent 6a31c62e26
commit 1b063c7600

View file

@ -1702,15 +1702,17 @@ tvheadend.idnode_tree = function(panel, conf)
mpanel.remove(current);
current = null;
}
if (!n.isRoot)
current = mpanel.add(new tvheadend.idnode_editor(n.attributes, {
if (!n.isRoot) {
current = new tvheadend.idnode_editor(n.attributes, {
title: 'Parameters',
nowidth: true,
width: 550,
noautoWidth: true,
fixedHeight: true,
help: conf.help || null
}));
mpanel.doLayout();
});
mpanel.add(current);
mpanel.doLayout();
}
}
}
});