[Vtigercrm-commits] [vtiger-commits] r9735 - in /vtigercrm/branches/4.2/modules/CustomView: EditView.html EditView.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Thu Oct 26 20:12:43 EDT 2006
Author: allanbush
Date: Thu Oct 26 18:12:41 2006
New Revision: 9735
Log:
Removed "Custom Action" button from customview edit view as I have no idea what it's there for.
Modified:
vtigercrm/branches/4.2/modules/CustomView/EditView.html
vtigercrm/branches/4.2/modules/CustomView/EditView.php
Modified: vtigercrm/branches/4.2/modules/CustomView/EditView.html
==============================================================================
--- vtigercrm/branches/4.2/modules/CustomView/EditView.html (original)
+++ vtigercrm/branches/4.2/modules/CustomView/EditView.html Thu Oct 26 18:12:41 2006
@@ -182,11 +182,6 @@
//return true;
}
-function goto_CustomAction(module)
-{
- document.location.href = "index.php?module="+module+"&action=CustomAction&record={CUSTOMVIEWID}";
-}
-
</script>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
@@ -206,7 +201,6 @@
{CANSAVE}
<input type="submit" class="button" name="saveNew" value="{APP.LBL_SAVE_BUTTON_LABEL} as New" tabindex="3">
<input name="cancel" class="button" type="button" value="{APP.LBL_CANCEL_BUTTON_LABEL}" onclick='window.history.back()'>
- {CUSTOMACTIONBUTTON}
</div></td>
</tr>
</table>
Modified: vtigercrm/branches/4.2/modules/CustomView/EditView.php
==============================================================================
--- vtigercrm/branches/4.2/modules/CustomView/EditView.php (original)
+++ vtigercrm/branches/4.2/modules/CustomView/EditView.php Thu Oct 26 18:12:41 2006
@@ -144,13 +144,6 @@
$xtpl->assign("MANDATORYCHECK",implode(",",$oCustomView->mandatoryvalues));
$xtpl->assign("SHOWVALUES",implode(",",$oCustomView->showvalues));
-
- $cactionhtml = "<input name='customaction' class='button' type='button' value='Create Custom Action' onclick=goto_CustomAction('".$cv_module."');>";
-
- if($cv_module == "Leads" || $cv_module == "Accounts" || $cv_module == "Contacts")
- {
- $xtpl->assign("CUSTOMACTIONBUTTON",$cactionhtml);
- }
}
// current user can only save his own records
More information about the vtigercrm-commits
mailing list