webstaff: teach egConfirmDialog how to set custom labels for buttons
authorGalen Charlton <gmc@esilibrary.com>
Thu, 24 Sep 2015 18:33:58 +0000 (18:33 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Tue, 2 Feb 2016 01:36:04 +0000 (20:36 -0500)
commite74deca977886db6a2a459c1fc8ac9ab979affa5
treee5da3fdef1b0cc1169af8cef06b694cd111c4c3e
parenteb706c7401e5f22704523d667dcfca1b7eaa1adc
webstaff: teach egConfirmDialog how to set custom labels for buttons

egConfirmDialog() now accepts optional fourth and fifth
arguments to set custom labels for the "OK" and "cancel"
buttons.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/src/templates/staff/share/t_confirm_dialog.tt2
Open-ILS/web/js/ui/default/staff/services/ui.js