From: dbs Date: Sun, 27 Jun 2010 17:37:37 +0000 (+0000) Subject: Correct syntax for dojo.string.substitute() and remove offending unpaired parens X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=bef5c4949c88653027b2147b6f72127a1a846898;p=contrib%2FConifer.git 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 --- 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();