[Vtigercrm-commits] [vtiger-commits] r10595 - /vtigercrm/branches/5.0.3/Smarty/templates/CreateProfile.tpl
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Mon Apr 9 07:44:07 EDT 2007
Author: richie
Date: Mon Apr 9 05:44:01 2007
New Revision: 10595
Log:
fix for create a new profile-fatal error. Fixes #3621 --minnie
Modified:
vtigercrm/branches/5.0.3/Smarty/templates/CreateProfile.tpl
Modified: vtigercrm/branches/5.0.3/Smarty/templates/CreateProfile.tpl
==============================================================================
--- vtigercrm/branches/5.0.3/Smarty/templates/CreateProfile.tpl (original)
+++ vtigercrm/branches/5.0.3/Smarty/templates/CreateProfile.tpl Mon Apr 9 05:44:01 2007
@@ -20,7 +20,7 @@
<br>
<div align=center>
{include file='SetMenu.tpl'}
- <form action="index.php" method="post" name="profileform" id="form">
+ <form action="index.php" method="post" name="profileform" id="form" onSubmit="return rolevalidate();">
<input type="hidden" name="module" value="Settings">
<input type="hidden" name="mode" value="{$MODE}">
<input type="hidden" name="action" value="profilePrivileges">
@@ -125,7 +125,7 @@
<tr><td colspan="2" style="border-bottom:1px dashed #CCCCCC;" height="75"> </td></tr>
<tr>
<td colspan="2" align="right">
- <input type="button" value=" {$APP.LNK_LIST_NEXT} › " name="Next" class="crmButton small" onClick="rolevalidate();"/>
+ <input type="button" value=" {$APP.LNK_LIST_NEXT} › " name="Next" class="crmButton small" onClick="return rolevalidate();"/>
<input type="button" value=" {$APP.LBL_CANCEL_BUTTON_LABEL} " title="{$APP.LBL_CANCEL_BUTTON_TITLE}" name="Cancel" onClick="window.history.back();" class="crmButton small cancel"/>
</td>
</tr>
@@ -184,6 +184,7 @@
{ldelim}
alert(profile_err_msg);
document.getElementById('pobox').focus();
+ return false
{rdelim}
{rdelim}
More information about the vtigercrm-commits
mailing list