WEBUI JS: Fix the idnode_tree (parameters missing)
This commit is contained in:
parent
6a31c62e26
commit
1b063c7600
1 changed files with 7 additions and 5 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue