Commits

Anonymous committed 5c24758

Use get_link

Comments (0)

Files changed (1)

tw2/yui/templates/xhrdatasource.html

 <script type="text/javascript">
     tw2_yui_datasources = {}; // TBD: only if undefined
-    var oDS = new YAHOO.util.XHRDataSource("/$w.compound_id", $w.options);
+    var oDS = new YAHOO.util.XHRDataSource("${w.get_link()}", $w.options);
     tw2_yui_datasources["$w.compound_id"] = oDS;
 </script>