From 6b71fb0388ff2014dd12641bdbda0dd530dcd10e Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Tue, 16 Sep 2014 12:00:32 +0200 Subject: [PATCH] WEBUI JS: Fix null error in idnode_grid.. --- src/webui/static/app/idnode.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/webui/static/app/idnode.js b/src/webui/static/app/idnode.js index 9608274f..a40ce66b 100644 --- a/src/webui/static/app/idnode.js +++ b/src/webui/static/app/idnode.js @@ -917,7 +917,8 @@ tvheadend.idnode_grid = function(panel, conf) }; var update2 = function(o) { - grid.getView().refresh(); + if (grid) + grid.getView().refresh(); }; function build(d)