have yns_alert_original call itself if need be
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 29 Jul 2009 22:18:00 +0000 (22:18 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 29 Jul 2009 22:18:00 +0000 (22:18 +0000)
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

index 5b6ad69..bf0acad 100644 (file)
@@ -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;
        },