From 988b85ad502316db52c9dea9a1bcd0768b0dba00 Mon Sep 17 00:00:00 2001 From: phasefx Date: Wed, 29 Jul 2009 22:18:00 +0000 Subject: [PATCH] have yns_alert_original call itself if need be git-svn-id: svn://svn.open-ils.org/ILS/trunk@13778 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/chrome/content/util/error.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/xul/staff_client/chrome/content/util/error.js b/Open-ILS/xul/staff_client/chrome/content/util/error.js index 5b6ad69cbd..bf0acadea2 100644 --- a/Open-ILS/xul/staff_client/chrome/content/util/error.js +++ b/Open-ILS/xul/staff_client/chrome/content/util/error.js @@ -449,7 +449,7 @@ util.error.prototype = { c = Text for confirmation checkbox. null for no confirm */ - dump('yns_alert:\n\ts = ' + s + '\n\ttitle = ' + title + '\n\tb1 = ' + b1 + '\n\tb2 = ' + b2 + '\n\tb3 = ' + b3 + '\n\tc = ' + c + '\n'); + dump('yns_alert_original:\n\ts = ' + s + '\n\ttitle = ' + title + '\n\tb1 = ' + b1 + '\n\tb2 = ' + b2 + '\n\tb3 = ' + b3 + '\n\tc = ' + c + '\n'); netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect"); this.sound.bad(); @@ -492,7 +492,7 @@ util.error.prototype = { var rv = promptService.confirmEx(window,title, ss, flags, b1, b2, b3, c, check); if (c && !check.value) { - return this.yns_alert(ss,title,b1,b2,b3,c); + return this.yns_alert_original(ss,title,b1,b2,b3,c); } return rv; }, -- 2.11.0