]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
webui: load smoothie.js from C
authorJaroslav Kysela <perex@perex.cz>
Tue, 12 May 2015 18:22:26 +0000 (20:22 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 12 May 2015 18:22:26 +0000 (20:22 +0200)
src/webui/extjs.c
src/webui/static/app/tvheadend.js

index 06d1c48f403d60cbca2a1aa5087b76a3821d9018..b118a5a189bddfa4a7bf1073c94899cdae9ac0e3 100644 (file)
@@ -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");
index ab667d0ccc8112880bfb6ab4b21be1450befe674..9efe8d08b74d71b935dd5c1647d6667b351041a8 100644 (file)
@@ -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');
         }
 
     };