From: Jaroslav Kysela Date: Tue, 12 May 2015 18:22:26 +0000 (+0200) Subject: webui: load smoothie.js from C X-Git-Tag: v4.1~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4acfaddba7b88a646c82d11740b13ef8ee6fb56;p=thirdparty%2Ftvheadend.git webui: load smoothie.js from C --- diff --git a/src/webui/extjs.c b/src/webui/extjs.c index 06d1c48f4..b118a5a18 100644 --- a/src/webui/extjs.c +++ b/src/webui/extjs.c @@ -134,6 +134,7 @@ extjs_root(http_connection_t *hc, const char *remain, void *opaque) /** * Load all components */ + extjs_load(hq, "static/smoothie.js"); extjs_load(hq, "static/app/comet.js"); extjs_load(hq, "static/app/tableeditor.js"); extjs_load(hq, "static/app/cteditor.js"); diff --git a/src/webui/static/app/tvheadend.js b/src/webui/static/app/tvheadend.js index ab667d0cc..9efe8d08b 100644 --- a/src/webui/static/app/tvheadend.js +++ b/src/webui/static/app/tvheadend.js @@ -611,9 +611,6 @@ tvheadend.app = function() { new tvheadend.cometPoller; Ext.QuickTips.init(); - - // Load the chart library smoothie.js, as used by the bandwidth monitor. - Ext.Loader.load('static/smoothie.js'); } };