From: Adam Sutton Date: Sat, 2 Feb 2013 12:52:20 +0000 (+0000) Subject: tableeditor: ensure all reload operations are properly processed X-Git-Tag: v3.5~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3c6fc94599e1719ab3e8fb9fa043b77b1ffeb82;p=thirdparty%2Ftvheadend.git tableeditor: ensure all reload operations are properly processed --- diff --git a/src/webui/static/app/tableeditor.js b/src/webui/static/app/tableeditor.js index dc04d1afc..c36498d86 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",