diff --git a/src/idnode.c b/src/idnode.c index a0ab2307..b53a270c 100644 --- a/src/idnode.c +++ b/src/idnode.c @@ -609,8 +609,8 @@ int idnode_write0 ( idnode_t *self, htsmsg_t *c, int optmask, int dosave ) { int save = 0; - void (*savefn)(idnode_t*) = NULL; const idclass_t *idc = self->in_class; + void (*savefn)(idnode_t*) = idc->ic_save; save = idnode_class_write_values(self, idc, c, optmask); if (save && dosave) { if (savefn) savefn(self); diff --git a/src/webui/static/app/idnode.js b/src/webui/static/app/idnode.js index 93f224c6..4ca791c4 100644 --- a/src/webui/static/app/idnode.js +++ b/src/webui/static/app/idnode.js @@ -731,7 +731,8 @@ tvheadend.idnode_tree = function (conf) var n = tree.getNodeById(o.uuid); if (n) { if (o.text) n.setText(o.text); - loader.load(n); + tree.getRootNode().reload(); + // cannot get this to properly reload children and maintain state } });