From b3c6fc94599e1719ab3e8fb9fa043b77b1ffeb82 Mon Sep 17 00:00:00 2001 From: Adam Sutton Date: Sat, 2 Feb 2013 12:52:20 +0000 Subject: [PATCH] tableeditor: ensure all reload operations are properly processed --- src/webui/static/app/tableeditor.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/webui/static/app/tableeditor.js b/src/webui/static/app/tableeditor.js index dc04d1af..c36498d8 100644 --- a/src/webui/static/app/tableeditor.js +++ b/src/webui/static/app/tableeditor.js @@ -13,13 +13,13 @@ tvheadend.tableEditor = function(title, dtable, cm, rec, plugins, store, op : "get" } }); - - tvheadend.comet.on(dtable, function(m){ - if (m.reload) - store.reload(); - }); } + tvheadend.comet.on(dtable, function(m){ + if (m.reload) + store.reload(); + }); + function addRecord() { Ext.Ajax.request({ url : "tablemgr",