[open-ils-commits] r10329 - in
branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb:
public/oils/media/ui_js/oils/default/acq/financial
templates/oils/default/acq/financial
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Aug 11 09:32:14 EDT 2008
Author: erickson
Date: 2008-08-11 09:32:13 -0400 (Mon, 11 Aug 2008)
New Revision: 10329
Modified:
branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/public/oils/media/ui_js/oils/default/acq/financial/list_funding_sources.js
branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/list_funding_sources.html
Log:
don't use global user cuz authoken is not guaranteed to be defined yet
Modified: branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/public/oils/media/ui_js/oils/default/acq/financial/list_funding_sources.js
===================================================================
--- branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/public/oils/media/ui_js/oils/default/acq/financial/list_funding_sources.js 2008-08-11 13:31:18 UTC (rev 10328)
+++ branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/public/oils/media/ui_js/oils/default/acq/financial/list_funding_sources.js 2008-08-11 13:32:13 UTC (rev 10329)
@@ -7,8 +7,6 @@
dojo.require('dojox.grid.Grid');
dojo.require('openils.Event');
-var globalUser = new openils.User();
-
function getOrgInfo(rowIndex) {
data = fundingSourceListGrid.model.getRow(rowIndex);
if(!data) return;
Modified: branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/list_funding_sources.html
===================================================================
--- branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/list_funding_sources.html 2008-08-11 13:31:18 UTC (rev 10328)
+++ branches/acq-experiment/Open-ILS/web/oilsweb/oilsweb/templates/oils/default/acq/financial/list_funding_sources.html 2008-08-11 13:32:13 UTC (rev 10329)
@@ -36,7 +36,7 @@
<div dojoType="dijit.TooltipDialog" execute="createFS(arguments[0]);">
<script type='dojo/connect' event='onOpen'>
openils.acq.CurrencyType.loadSelectWidget(fsCurrencySelector);
- globalUser.buildPermOrgSelector('ADMIN_FUNDING_SOURCE', fsOwnerSelect);
+ new openils.User().buildPermOrgSelector('ADMIN_FUNDING_SOURCE', fsOwnerSelect);
</script>
<table class='dijitTooltipTable'>
More information about the open-ils-commits
mailing list