[open-ils-commits] r13086 - trunk/Open-ILS/web/js/ui/default/acq/picklist (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed May 6 10:34:18 EDT 2009
Author: erickson
Date: 2009-05-06 10:34:16 -0400 (Wed, 06 May 2009)
New Revision: 13086
Modified:
trunk/Open-ILS/web/js/ui/default/acq/picklist/upload.js
Log:
use fully-qualified path in view po/pl links
Modified: trunk/Open-ILS/web/js/ui/default/acq/picklist/upload.js
===================================================================
--- trunk/Open-ILS/web/js/ui/default/acq/picklist/upload.js 2009-05-06 14:33:33 UTC (rev 13085)
+++ trunk/Open-ILS/web/js/ui/default/acq/picklist/upload.js 2009-05-06 14:34:16 UTC (rev 13086)
@@ -109,13 +109,13 @@
if(resp.picklist) {
openils.Util.show('acq-pl-upload-complete-pl');
dojo.byId('acq-pl-upload-complete-pl').setAttribute(
- 'href', location.href + '/../view/' + resp.picklist.id());
+ 'href', oilsBasePath + '/eg/acq/picklist/view/' + resp.picklist.id());
}
if(resp.purchase_order) {
openils.Util.show('acq-pl-upload-complete-po');
dojo.byId('acq-pl-upload-complete-po').setAttribute(
- 'href', location.href + '/../../po/view/' + resp.purchase_order.id());
+ 'href', oilsBasePath + '/eg/acq/po/view/' + resp.purchase_order.id());
}
} else {
More information about the open-ils-commits
mailing list