[Vtigercrm-commits] [vtiger-commits] r10625 - /vtigercrm/branches/5.0.3/Smarty/templates/Reports.tpl
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Tue Apr 10 11:21:43 EDT 2007
Author: saraj
Date: Tue Apr 10 09:21:38 2007
New Revision: 10625
Log:
Reports Folder Rename Problem - fixed . Fixes #3635
Modified:
vtigercrm/branches/5.0.3/Smarty/templates/Reports.tpl
Modified: vtigercrm/branches/5.0.3/Smarty/templates/Reports.tpl
==============================================================================
--- vtigercrm/branches/5.0.3/Smarty/templates/Reports.tpl (original)
+++ vtigercrm/branches/5.0.3/Smarty/templates/Reports.tpl Tue Apr 10 09:21:38 2007
@@ -174,9 +174,16 @@
method: 'post',
postBody: 'action=ReportsAjax&mode=ajax&file=CheckReport&module=Reports&check=folderCheck&folderName='+getObj('folder_name').value,
onComplete: function(response) {
- if(response.responseText!=0)
+ if((response.responseText==1) && (mode == 'Edit'))
{
{/literal}
+ alert("{$APP.FOLDER_NAME_ALREADY_EXISTS}");
+ return false;
+ {literal}
+ }
+ else if((response.responseText !=0) && (mode == 'Edit'))
+ {
+ {/literal};
alert("{$APP.FOLDER_NAME_ALREADY_EXISTS}");
return false;
{literal}
More information about the vtigercrm-commits
mailing list