[open-ils-commits] r9295 -
trunk/Open-ILS/xul/staff_client/server/cat
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Apr 10 12:48:37 EDT 2008
Author: dbs
Date: 2008-04-10 12:11:11 -0400 (Thu, 10 Apr 2008)
New Revision: 9295
Modified:
trunk/Open-ILS/xul/staff_client/server/cat/copy_editor.js
Log:
Syntax errors in copy_editor.js
Modified: trunk/Open-ILS/xul/staff_client/server/cat/copy_editor.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/cat/copy_editor.js 2008-04-10 14:42:17 UTC (rev 9294)
+++ trunk/Open-ILS/xul/staff_client/server/cat/copy_editor.js 2008-04-10 16:11:11 UTC (rev 9295)
@@ -267,7 +267,7 @@
try {
var name = g.template_menu.value;
if (!name) return;
- if (! window.confirm($('catStrings').getFormattedString('staff.cat.copy_editor.delete_template.confirm', [name])) return;
+ if (! window.confirm($('catStrings').getFormattedString('staff.cat.copy_editor.delete_template.confirm', [name]))) return;
delete(g.templates[name]);
var robj = g.network.simple_request(
'FM_AUS_UPDATE',[ses(),g.data.list.au[0].id(), { 'staff_client.copy_editor.templates' : g.templates }]
@@ -461,7 +461,7 @@
[ses(),old_volume.label(),old_volume.record(),ou_id]
);
if (typeof acn_id.ilsevent != 'undefined') {
- g.error.standard_unexpected_error_alert($('catStrings').getFormattedString('staff.cat.copy_editor.apply_owning_lib.call_number.error', [copy.barcode()], acn_id);
+ g.error.standard_unexpected_error_alert($('catStrings').getFormattedString('staff.cat.copy_editor.apply_owning_lib.call_number.error', [copy.barcode()]), acn_id);
continue;
}
copy.call_number(acn_id);
More information about the open-ils-commits
mailing list