[Vtigercrm-commits] [vtiger-commits] r6307 - /vtigercrm/trunk/include/js/Merge.js
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Tue May 23 00:56:27 EDT 2006
Author: saraj
Date: Mon May 22 22:56:23 2006
New Revision: 6307
Log:
added empty mergefile check
Modified:
vtigercrm/trunk/include/js/Merge.js
Modified: vtigercrm/trunk/include/js/Merge.js
==============================================================================
--- vtigercrm/trunk/include/js/Merge.js (original)
+++ vtigercrm/trunk/include/js/Merge.js Mon May 22 22:56:23 2006
@@ -53,9 +53,14 @@
}
if(getObj('selectall').checked == true)
- {
- getObj('idlist').value = getObj('allids').value;
- }
+ {
+ getObj('idlist').value = getObj('allids').value
+ }
+ if(getObj('mergefile').value == '')
+ {
+ alert("Please select a template to merge");
+ return false;
+ }
document.massdelete.action="index.php?module="+module+"&action=Merge&return_module="+module+"&return_action=index";
}
More information about the vtigercrm-commits
mailing list