[Vtigercrm-commits] [vtiger-commits] r4290 - in /vtigercrm/trunk/Smarty/templates: UserListView.tpl UserProfile.tpl

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Sat Mar 18 03:20:46 EST 2006


Author: saraj
Date: Sat Mar 18 01:20:40 2006
New Revision: 4290

Log:
status div integrated

Modified:
    vtigercrm/trunk/Smarty/templates/UserListView.tpl
    vtigercrm/trunk/Smarty/templates/UserProfile.tpl

Modified: vtigercrm/trunk/Smarty/templates/UserListView.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/UserListView.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/UserListView.tpl Sat Mar 18 01:20:40 2006
@@ -80,15 +80,17 @@
 </tr>
 </table>
 <div id="tempdiv" style="display:block;position:absolute;left:350px;top:200px;"></div>
+<div id="status" style="display:none;position:absolute;background-color:#bbbbbb;vertical-align:center;left:887px;top:0px;height:17px;">Processing Request...</div>
 <script>
 function ajaxSaveResponse(response)
 {ldelim}
+	hide("status");
 	document.getElementById("tempdiv").innerHTML=response.responseText;
 {rdelim}
 
 function DeleteProfile(userid)
 {ldelim}
-	//show("an_busy");
+	show("status");
 	var ajaxObj = new Ajax(ajaxSaveResponse);
 	var urlstring = "module=Users&action=UsersAjax&file=UserDeleteStep1&record="+userid;
 	ajaxObj.process("index.php?",urlstring);

Modified: vtigercrm/trunk/Smarty/templates/UserProfile.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/UserProfile.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/UserProfile.tpl Sat Mar 18 01:20:40 2006
@@ -63,15 +63,17 @@
 </tr>
 </table>
 <div id="tempdiv" style="display:block;position:absolute;left:350px;top:200px;"></div>
+<div id="status" style="display:none;position:absolute;background-color:#bbbbbb;vertical-align:center;left:887px;top:0px;height:17px;">Processing Request...</div>
 <script>
 function ajaxSaveResponse(response)
 {ldelim}
+	hide("status");
 	document.getElementById("tempdiv").innerHTML=response.responseText;
 {rdelim}
 
 function DeleteProfile(profileid)
 {ldelim}
-	//show("an_busy");
+	show("status");
 	var ajaxObj = new Ajax(ajaxSaveResponse);
 	var urlstring = "module=Users&action=UsersAjax&file=ProfileDeleteStep1&profileid="+profileid;
 	ajaxObj.process("index.php?",urlstring);





More information about the vtigercrm-commits mailing list