[Vtigercrm-commits] [vtiger-commits] r6951 - /vtigercrm/trunk/Smarty/templates/Emails.tpl
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Wed Jun 7 09:51:41 EDT 2006
Author: saraj
Date: Wed Jun 7 07:51:37 2006
New Revision: 6951
Log:
ajax functionality has been modified
Modified:
vtigercrm/trunk/Smarty/templates/Emails.tpl
Modified: vtigercrm/trunk/Smarty/templates/Emails.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/Emails.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/Emails.tpl Wed Jun 7 07:51:37 2006
@@ -94,10 +94,19 @@
{rdelim}
function getListViewEntries_js(module,url)
{ldelim}
- show("status");
- var ajaxObj = new VtigerAjax(ajaxSaveResponse);
- var urlstring ="module="+module+"&action="+module+"Ajax&file=ListView&ajax=true&"+url;
- ajaxObj.process("index.php?",urlstring);
+ $("status").style.display="inline";
+ new Ajax.Request(
+ 'index.php',
+ {ldelim}queue: {ldelim}position: 'end', scope: 'command'{rdelim},
+ method: 'post',
+ postBody: "module="+module+"&action="+module+"Ajax&file=ListView&ajax=true&"+url,
+ onComplete: function(response) {ldelim}
+ $("status").style.display="none";
+ $("email_con").innerHTML=response.responseText;
+ execJS(document.getElementById('email_con'));
+ {rdelim}
+ {rdelim}
+ );
{rdelim}
</script>
More information about the vtigercrm-commits
mailing list