[Vtigercrm-commits] [vtiger-commits] r6576 - /vtigercrm/trunk/modules/Webmails/webmails.js

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Sun May 28 00:12:29 EDT 2006


Author: mmbrich
Date: Sat May 27 22:12:28 2006
New Revision: 6576

Log:
really added confirm this time

Modified:
    vtigercrm/trunk/modules/Webmails/webmails.js

Modified: vtigercrm/trunk/modules/Webmails/webmails.js
==============================================================================
--- vtigercrm/trunk/modules/Webmails/webmails.js (original)
+++ vtigercrm/trunk/modules/Webmails/webmails.js Sat May 27 22:12:28 2006
@@ -226,8 +226,8 @@
         $("status").style.display="none";
 }
 function mass_delete() {
-	var confirm = "Are you sure you want to delete these messages?";
-	if(confirm) {
+	var ok = confirm("Are you sure you want to delete these messages?");
+	if(ok) {
         	$("status").style.display="block";
         	var els = document.getElementsByTagName("INPUT");
         	var cnt = (els.length-1);





More information about the vtigercrm-commits mailing list