[Vtigercrm-commits] [vtiger-commits] r10836 - in /vtigercrm/branches/5.0.3: Smarty/templates/ReportsStep0.tpl modules/Reports/Reports.js
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Thu May 10 15:03:13 EDT 2007
Author: jerrydgeorge
Date: Thu May 10 13:02:56 2007
New Revision: 10836
Log:
Improper validation on enter key pressed has been fixed for reportname.Fixes #3479.
Modified:
vtigercrm/branches/5.0.3/Smarty/templates/ReportsStep0.tpl
vtigercrm/branches/5.0.3/modules/Reports/Reports.js
Modified: vtigercrm/branches/5.0.3/Smarty/templates/ReportsStep0.tpl
==============================================================================
--- vtigercrm/branches/5.0.3/Smarty/templates/ReportsStep0.tpl (original)
+++ vtigercrm/branches/5.0.3/Smarty/templates/ReportsStep0.tpl Thu May 10 13:02:56 2007
@@ -23,7 +23,7 @@
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="mailClient mailClientBg">
<tr>
<td>
- <form name="NewRep" method="POST" ENCTYPE="multipart/form-data" action="index.php" style="margin:0px">
+ <form name="NewRep" method="POST" ENCTYPE="multipart/form-data" action="index.php" style="margin:0px" onSubmit="return changeSteps();">
<input type="hidden" name="module" value="Reports">
<input type="hidden" name="primarymodule" value="{$REP_MODULE}">
<input type="hidden" name="file" value="NewReport1">
Modified: vtigercrm/branches/5.0.3/modules/Reports/Reports.js
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Reports/Reports.js (original)
+++ vtigercrm/branches/5.0.3/modules/Reports/Reports.js Thu May 10 13:02:56 2007
@@ -480,6 +480,7 @@
if (trim(document.NewRep.reportname.value) == "")
{
alert(alert_arr.MISSING_REPORT_NAME);
+ return false;
}else
{
new Ajax.Request(
More information about the vtigercrm-commits
mailing list