From bef5c4949c88653027b2147b6f72127a1a846898 Mon Sep 17 00:00:00 2001 From: dbs Date: Sun, 27 Jun 2010 17:37:37 +0000 Subject: [PATCH] Correct syntax for dojo.string.substitute() and remove offending unpaired parens git-svn-id: svn://svn.open-ils.org/ILS/trunk@16819 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/js/ui/default/booking/reservation.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Open-ILS/web/js/ui/default/booking/reservation.js b/Open-ILS/web/js/ui/default/booking/reservation.js index 08b56b2fe9..8958799717 100644 --- a/Open-ILS/web/js/ui/default/booking/reservation.js +++ b/Open-ILS/web/js/ui/default/booking/reservation.js @@ -317,14 +317,13 @@ function create_bresv(resource_list) { } 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(); -- 2.11.0