base_uri as a misnomer. changed to base_path. added support for overrideing the...
[working/Evergreen.git] / Open-ILS / web / templates / default / acq / financial / list_funds.tt2
index af84f9d..2b3c9c2 100644 (file)
@@ -15,7 +15,7 @@
                     return;
                 } else {
                     location.href =  /* go to the details page for this fund */
-                    '[% ctx.base_uri %]/acq/fund/view/'+fundId;
+                    '[% ctx.base_path %]/acq/fund/view/'+fundId;
                 }
             }
         );
@@ -28,7 +28,7 @@
         if(!item) return;
         var name = this.grid.store.getValue(item, 'name');
         var id = this.grid.store.getValue(item, 'id');
-        return '<a href="[% ctx.base_uri %]/acq/fund/view/'+id+'">'+name+'</a>';
+        return '<a href="[% ctx.base_path %]/acq/fund/view/'+id+'">'+name+'</a>';
     }
 </script>