[Vtigercrm-commits] [vtiger-commits] r6200 - /vtigercrm/trunk/Smarty/templates/Rss.tpl
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Fri May 19 15:25:08 EDT 2006
Author: don
Date: Fri May 19 13:25:04 2006
New Revision: 6200
Log:
validation added for Rss delete
Modified:
vtigercrm/trunk/Smarty/templates/Rss.tpl
Modified: vtigercrm/trunk/Smarty/templates/Rss.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/Rss.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/Rss.tpl Fri May 19 13:25:04 2006
@@ -197,10 +197,13 @@
{rdelim}
function makedefaultRss(id)
{ldelim}
- show('status');
- var ajaxObj = new Ajax(ajaxSetDefault);
- var urlstring = 'module=Rss&action=RssAjax&vtigerfile=Popup&directmode=ajax&record='+id;
- ajaxObj.process("index.php?",urlstring);
+ if(id != '')
+ {ldelim}
+ show('status');
+ var ajaxObj = new Ajax(ajaxSetDefault);
+ var urlstring = 'module=Rss&action=RssAjax&vtigerfile=Popup&directmode=ajax&record='+id;
+ ajaxObj.process("index.php?",urlstring);
+ {rdelim}
{rdelim}
function getrssfolders()
{ldelim}
More information about the vtigercrm-commits
mailing list