diff options
author | Tobi Oetiker <tobi@oetiker.ch> | 2008-01-30 18:02:27 +0100 |
---|---|---|
committer | Tobi Oetiker <tobi@oetiker.ch> | 2008-01-30 18:02:27 +0100 |
commit | 74783005860524bbdf1be4fe0ec2924e650c1652 (patch) | |
tree | eb4212b67f097b420cddcbec901f577a72d933a0 /qooxdoo/source/class/Smokeping/ui/Graph.js | |
parent | 0e6c3c629a18c9989e4cd8b9d3cd2f7cf7da4aef (diff) | |
download | smokeping-74783005860524bbdf1be4fe0ec2924e650c1652.tar.gz smokeping-74783005860524bbdf1be4fe0ec2924e650c1652.tar.xz |
updated ... working
Diffstat (limited to 'qooxdoo/source/class/Smokeping/ui/Graph.js')
-rw-r--r-- | qooxdoo/source/class/Smokeping/ui/Graph.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/qooxdoo/source/class/Smokeping/ui/Graph.js b/qooxdoo/source/class/Smokeping/ui/Graph.js index 1d12cdf..506f158 100644 --- a/qooxdoo/source/class/Smokeping/ui/Graph.js +++ b/qooxdoo/source/class/Smokeping/ui/Graph.js @@ -20,7 +20,7 @@ qx.Class.define('Smokeping.ui.Graph', */ /** - * @param object {GraphShadow} What happens when the SNCF conductors tamazing. + * @param object {file} What happens when the SNCF conductors tamazing. * */ @@ -43,7 +43,8 @@ qx.Class.define('Smokeping.ui.Graph', this._highlight(); var loader = new Smokeping.ui.LoadingAnimation(); this.add(loader); - this._preloader = qx.io.image.PreloaderManager.getInstance().create(this._graph.getSrc()); + this._preloader = qx.io.image.PreloaderManager.getInstance().create(Smokeping.Server.getInstance().getUrl() + + '?g='+graph+';s=now-1d;e=now;t=100000;b=0;w=200;h=100'); if (this._preloader.isLoaded()){ qx.client.Timer.once(this._image_loader,this,0); } else { |