[open-ils-commits] r13778 - trunk/Open-ILS/xul/staff_client/chrome/content/util (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Jul 29 18:18:06 EDT 2009
Author: phasefx
Date: 2009-07-29 18:18:00 -0400 (Wed, 29 Jul 2009)
New Revision: 13778
Modified:
trunk/Open-ILS/xul/staff_client/chrome/content/util/error.js
Log:
have yns_alert_original call itself if need be
Modified: trunk/Open-ILS/xul/staff_client/chrome/content/util/error.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/chrome/content/util/error.js 2009-07-29 12:23:07 UTC (rev 13777)
+++ trunk/Open-ILS/xul/staff_client/chrome/content/util/error.js 2009-07-29 22:18:00 UTC (rev 13778)
@@ -449,7 +449,7 @@
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 @@
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;
},
More information about the open-ils-commits
mailing list