[open-ils-commits] r17879 - trunk/Open-ILS/xul/staff_client/server/patron (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Sep 21 20:55:57 EDT 2010
Author: phasefx
Date: 2010-09-21 20:55:55 -0400 (Tue, 21 Sep 2010)
New Revision: 17879
Modified:
trunk/Open-ILS/xul/staff_client/server/patron/holds.js
Log:
use fieldmapper.standardRequest here for easier configuration of the network timeout (the full pull list can take a while to return)
Modified: trunk/Open-ILS/xul/staff_client/server/patron/holds.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/holds.js 2010-09-21 19:08:57 UTC (rev 17878)
+++ trunk/Open-ILS/xul/staff_client/server/patron/holds.js 2010-09-22 00:55:55 UTC (rev 17879)
@@ -302,7 +302,13 @@
}
JSAN.use('util.print');
var print = new util.print('default');
- var robj = obj.network.simple_request('HTML_HOLD_PULL_LIST',[ses()]);
+ var robj = fieldmapper.standardRequest(
+ [ api.HTML_HOLD_PULL_LIST.app, api.HTML_HOLD_PULL_LIST.method ],
+ { async: false,
+ timeout: 180,
+ params: [ses()],
+ }
+ );
if (typeof robj.ilsevent != 'undefined') { throw(robj); }
print.simple( robj.template_output().data() );
} catch(E) {
More information about the open-ils-commits
mailing list