src/js/init.js
branchnew-model
changeset 881 f11b234497f7
parent 875 43629caa77bc
child 882 61c384dda19e
--- a/src/js/init.js	Thu Apr 26 19:18:57 2012 +0200
+++ b/src/js/init.js	Fri Apr 27 19:18:21 2012 +0200
@@ -44,7 +44,7 @@
 
     /* widget specific requirements */
     for(var _i = 0; _i < this.config.gui.widgets.length; _i++) {
-        if(this.config.gui.widgets[_i].type === "Sparkline") {
+        if(this.config.gui.widgets[_i].type === "Sparkline" || this.config.gui.widgets[_i].type === "Arrow") {
             $L.script(IriSP.getLib("raphael"));
         }
         if(this.config.gui.widgets[_i].type === "TraceWidget") {