Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
WebUI: Add rollup-on-create to idnode panels; set readonly panels to …
…rolled up by default
  • Loading branch information
ProfYaffle authored and perexg committed Nov 21, 2014
1 parent ba4bb99 commit 701e6b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/webui/static/app/idnode.js
Expand Up @@ -676,7 +676,7 @@ tvheadend.idnode_editor_form = function(d, meta, panel, conf)
autoHeight: true,
autoWidth: true,
collapsible: conf.nocollapse ? false : true,
collapsed: false,
collapsed: conf.collapsed ? true : false,
items: conf.items
});
}
Expand Down Expand Up @@ -742,7 +742,7 @@ tvheadend.idnode_editor_form = function(d, meta, panel, conf)
if (af.length)
panel.add(newFieldSet({ title: "Advanced Settings", items: af }));
if (rf.length)
panel.add(newFieldSet({ title: "Read-only Info", items: rf }));
panel.add(newFieldSet({ title: "Read-only Info", items: rf, collapsed: 'true'}));
}
panel.doLayout();
};
Expand Down

0 comments on commit 701e6b3

Please sign in to comment.