[Vtigercrm-commits] [vtiger-commits] r4612 - /vtigercrm/trunk/include/js/dtlviewajax.js
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Tue Mar 28 23:33:34 EST 2006
Author: saraj
Date: Tue Mar 28 21:33:30 2006
New Revision: 4612
Log:
junk code removed
Modified:
vtigercrm/trunk/include/js/dtlviewajax.js
Modified: vtigercrm/trunk/include/js/dtlviewajax.js
==============================================================================
--- vtigercrm/trunk/include/js/dtlviewajax.js (original)
+++ vtigercrm/trunk/include/js/dtlviewajax.js Tue Mar 28 21:33:30 2006
@@ -22,8 +22,6 @@
{
showHide(valuespanid,textareapanid);
- //fieldLabelObj = getObj(fieldlabel);
- //fieldLabelObj.className="label";
itsonview=false;
return false;
}
@@ -39,13 +37,9 @@
}
show("crmspanid");
- //globalfieldlabel=fieldLabel;
globaldtlviewspanid= "dtlview_"+ fieldLabel;//valuespanid;
- //globalsubvaluespanid="subvalue_"+ fieldLabel;//subvaluespanid;
globaleditareaspanid="editarea_"+ fieldLabel;//textareapanid;
- //globaluitype=uitype;
globaltxtboxid="txtbox_"+ fieldLabel;//textboxpanid;
- //globalismandatory=ismandatory;
divObj = getObj('crmspanid');
crmy = findPosY(getObj(mouseArea));
crmx = findPosX(getObj(mouseArea));
@@ -63,25 +57,18 @@
function handleEdit()
{
- //setValue(globalvaluespanid,globaltextboxpanid,globalsubvaluespanid,globaluitype,globalfieldlabel);
- //setValue(globalvaluespanid,globaltextboxpanid,globalsubvaluespanid,globaluitype,globalfieldlabel,globalismandatory);
show(globaleditareaspanid) ;
hide(globaldtlviewspanid);
getObj(globaltxtboxid).focus();
hide('crmspanid');
itsonview=true;
- //if(dhtmlHistory.currentLocation!="start")
- //{
- // window.historyStorage.put("start",getObj('show').innerHTML);
- //}
return false;
}
function dtlViewAjaxResponse(response)
{
var item = response.responseText;
- alert(response.responseText)
- if(item.indexOf(":#:FAILURE")>-1)
+ if(item.indexOf(":#:FAILURE")>-1)
{
alert("Error while Editing");
}
@@ -114,7 +101,6 @@
var ajaxObj = new Ajax(dtlViewAjaxResponse);
ajaxObj.process("index.php?",data);
- //alert(getObj(popupTxt));
if(uitype == '13')
{
getObj(dtlView).innerHTML = "<a href=\"mailto:"+ tagValue+"\" target=\"_blank\">"+tagValue+" </a>";
More information about the vtigercrm-commits
mailing list