[open-ils-commits] r17497 - branches/rel_2_0/Open-ILS/web/js/ui/default/acq/common (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Sep 7 10:52:04 EDT 2010
Author: erickson
Date: 2010-09-07 10:52:01 -0400 (Tue, 07 Sep 2010)
New Revision: 17497
Modified:
branches/rel_2_0/Open-ILS/web/js/ui/default/acq/common/li_table.js
Log:
make lineitem price updates synchronous to prevent race condition between onChange of price set completion and PO activation
Modified: branches/rel_2_0/Open-ILS/web/js/ui/default/acq/common/li_table.js
===================================================================
--- branches/rel_2_0/Open-ILS/web/js/ui/default/acq/common/li_table.js 2010-09-07 14:51:21 UTC (rev 17496)
+++ branches/rel_2_0/Open-ILS/web/js/ui/default/acq/common/li_table.js 2010-09-07 14:52:01 UTC (rev 17497)
@@ -733,7 +733,8 @@
fieldmapper.standardRequest(
['open-ils.acq', 'open-ils.acq.lineitem.price.set'],
- { async : true,
+ { async : false, // redundant w/ timeout
+ timeout : 10,
params : [this.authtoken, li.id(), price],
oncomplete : function(r) {
openils.Util.readResponse(r);
More information about the open-ils-commits
mailing list