[open-ils-commits] r16819 - trunk/Open-ILS/web/js/ui/default/booking (dbs)
svn at svn.open-ils.org
svn at svn.open-ils.org
Sun Jun 27 13:37:41 EDT 2010
Author: dbs
Date: 2010-06-27 13:37:37 -0400 (Sun, 27 Jun 2010)
New Revision: 16819
Modified:
trunk/Open-ILS/web/js/ui/default/booking/reservation.js
Log:
Correct syntax for dojo.string.substitute() and remove offending unpaired parens
Modified: trunk/Open-ILS/web/js/ui/default/booking/reservation.js
===================================================================
--- trunk/Open-ILS/web/js/ui/default/booking/reservation.js 2010-06-25 22:11:36 UTC (rev 16818)
+++ trunk/Open-ILS/web/js/ui/default/booking/reservation.js 2010-06-27 17:37:37 UTC (rev 16819)
@@ -317,14 +317,13 @@
} else {
if (results.length == 1) {
alert(dojo.string.substitute(
- localeStrings.CREATE_BRESV_OK(results.length)
+ localeStrings.CREATE_BRESV_OK, [results.length]
));
} else {
alert(dojo.string.substitute(
- localeStrings.CREATE_BRESV_OK_PLURAL(results.length)
+ localeStrings.CREATE_BRESV_OK_PLURAL, [results.length]
));
}
- );
}
update_brsrc_list();
update_bresv_grid();
More information about the open-ils-commits
mailing list