Author: eallen
Date: 2009-03-30 17:05:09 -0400 (Mon, 30 Mar 2009)
New Revision: 3236
Modified:
mgmt/trunk/cumin/python/cumin/stat.strings
Log:
Made refreshTime public so it can be called from the slot visualization code.
Modified: mgmt/trunk/cumin/python/cumin/stat.strings
===================================================================
--- mgmt/trunk/cumin/python/cumin/stat.strings 2009-03-27 20:51:17 UTC (rev 3235)
+++ mgmt/trunk/cumin/python/cumin/stat.strings 2009-03-30 21:05:09 UTC (rev 3236)
@@ -55,7 +55,7 @@
[StatValueChart.javascript]
(function() {
- function refreshTime(src) {
+ cumin.refreshTime = function(src) {
var sep = src.lastIndexOf(";");
var time = new Date().getTime();
@@ -73,7 +73,7 @@
var img = chart.elem("img")
var src = img.getattr("src");
- src = refreshTime(src);
+ src = cumin.refreshTime(src);
img.setattr("src", src);
}
Show replies by date