[open-ils-commits] r11391 - trunk/Open-ILS/xul/staff_client/chrome/content/util
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Dec 3 14:09:25 EST 2008
Author: dbs
Date: 2008-12-03 14:09:22 -0500 (Wed, 03 Dec 2008)
New Revision: 11391
Modified:
trunk/Open-ILS/xul/staff_client/chrome/content/util/network.js
Log:
Rookie mistake - quote the parm passed to getString/getFormattedString
Modified: trunk/Open-ILS/xul/staff_client/chrome/content/util/network.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/util/network.js 2008-12-03 18:58:09 UTC (rev 11390)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/util/network.js 2008-12-03 19:09:22 UTC (rev 11391)
@@ -25,7 +25,7 @@
//obj.error.sdump('D_SES','simple_request '+ method_id +' '+obj.error.pretty_print(sparams.slice(1,sparams.length-1))+
// '\noverride_params = ' + override_params + '\n');
if (typeof api[method_id] == 'undefined') {
- throw( offlineStrings.getFormattedString(network.method_not_found.error, [method_id]) );
+ throw( offlineStrings.getFormattedString('network.method_not_found.error', [method_id]) );
}
var secure = true; if (typeof api[method_id].secure != 'undefined') secure = api[method_id].secure;
return this.request(api[method_id].app,api[method_id].method,params,f,override_params,{ 'secure' : secure, 'method_id' : method_id });
More information about the open-ils-commits
mailing list