[Jifty-commit] r3796 - in jifty/trunk:
lib/Jifty/Plugin/Chart/Renderer
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Sun Aug 5 20:34:44 EDT 2007
Author: trs
Date: Sun Aug 5 20:34:44 2007
New Revision: 3796
Modified:
jifty/trunk/ (props changed)
jifty/trunk/lib/Jifty/Plugin/Chart/Renderer/PlotKit.pm
Log:
r25915 at zot: tom | 2007-08-05 20:34:08 -0400
Render onAvailable instead of on window load so that we work in regions
Modified: jifty/trunk/lib/Jifty/Plugin/Chart/Renderer/PlotKit.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Plugin/Chart/Renderer/PlotKit.pm (original)
+++ jifty/trunk/lib/Jifty/Plugin/Chart/Renderer/PlotKit.pm Sun Aug 5 20:34:44 2007
@@ -90,7 +90,7 @@
@{[Jifty::JSON::objToJson( $args{data} )]}
);
};
-YAHOO.util.Event.addListener( window, "load", plot );
+YAHOO.util.Event.onAvailable( "$chart_id", plot );
</script>
END_OF_HTML
More information about the Jifty-commit
mailing list