]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
WEBUI JS: Fix null error in idnode_grid..
authorJaroslav Kysela <perex@perex.cz>
Tue, 16 Sep 2014 10:00:32 +0000 (12:00 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 16 Sep 2014 10:00:32 +0000 (12:00 +0200)
src/webui/static/app/idnode.js

index 9608274fe883c87a22b94d116cc5c2b4aa185d64..a40ce66bf2bde434f7f5d3bf94a44a16bff10e08 100644 (file)
@@ -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)