diff --git a/src/webui/static/app/idnode.js b/src/webui/static/app/idnode.js index 9120235e..fabfa234 100644 --- a/src/webui/static/app/idnode.js +++ b/src/webui/static/app/idnode.js @@ -501,7 +501,7 @@ tvheadend.idnode_grid = function(panel, conf) /* Event handlers */ store.on('update', function(s, r, o){ - d = (s.getModifiedRecords().length == 0); + var d = (s.getModifiedRecords().length == 0); undoBtn.setDisabled(d); saveBtn.setDisabled(d); });