base_uri as a misnomer. changed to base_path. added support for overrideing the...
[working/Evergreen.git] / Open-ILS / web / templates / default / acq / common / jubgrid.tt2
index 94bc374..e2f657c 100644 (file)
@@ -49,7 +49,7 @@ pointing to the JUB model (and store) that you have created.
     JUBGrid.getPO = function(rowIndex) {
         var data = JUBGrid.jubGrid.model.getRow(rowIndex);
         if (!(data && data.purchase_order)) return '';
-        return "<a href='[% ctx.base_uri %]/acq/po/view/" + data.purchase_order+"'>"+data.purchase_order+"</a>";
+        return "<a href='[% ctx.base_path %]/acq/po/view/" + data.purchase_order+"'>"+data.purchase_order+"</a>";
     }
     JUBGrid.jubGridLayout = [{
         //noscroll: true,