[Vtigercrm-commits] [vtiger-commits] r10759 - in /vtigercrm/branches/5.0.3/Smarty/templates: ActivityListView.tpl ListView.tpl

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Mon Apr 23 01:27:19 EDT 2007


Author: richie
Date: Sun Apr 22 23:27:09 2007
New Revision: 10759

Log:
fix for If I type some words in search box and I press the enter button it won't work. Fixes #3142 --minnie

Modified:
    vtigercrm/branches/5.0.3/Smarty/templates/ActivityListView.tpl
    vtigercrm/branches/5.0.3/Smarty/templates/ListView.tpl

Modified: vtigercrm/branches/5.0.3/Smarty/templates/ActivityListView.tpl
==============================================================================
--- vtigercrm/branches/5.0.3/Smarty/templates/ActivityListView.tpl (original)
+++ vtigercrm/branches/5.0.3/Smarty/templates/ActivityListView.tpl Sun Apr 22 23:27:09 2007
@@ -82,6 +82,7 @@
 			{rdelim}
 	       {rdelim}
         );
+	return false;
 
 {rdelim}
 function alphabetic(module,url,dataid)
@@ -132,7 +133,6 @@
 </table>
 
 {*<!-- Contents -->*}
-<form name="basicSearch" action="index.php" onsubmit="return false;">
 <table border=0 cellspacing=0 cellpadding=0 width=98% align=center>
      <tr>
         <td valign=top><img src="{$IMAGE_PATH}showPanelTopLeft.gif"></td>

Modified: vtigercrm/branches/5.0.3/Smarty/templates/ListView.tpl
==============================================================================
--- vtigercrm/branches/5.0.3/Smarty/templates/ListView.tpl (original)
+++ vtigercrm/branches/5.0.3/Smarty/templates/ListView.tpl Sun Apr 22 23:27:09 2007
@@ -84,7 +84,7 @@
 			{rdelim}
 	       {rdelim}
         );
-
+	return false
 {rdelim}
 function alphabetic(module,url,dataid)
 {ldelim}
@@ -134,7 +134,6 @@
 </table>
 
 {*<!-- Contents -->*}
-<form name="basicSearch" action="index.php" onsubmit="return false;">
 <table border=0 cellspacing=0 cellpadding=0 width=98% align=center>
      <tr>
         <td valign=top><img src="{$IMAGE_PATH}showPanelTopLeft.gif"></td>
@@ -142,6 +141,7 @@
 	<td class="showPanelBg" valign="top" width=100% style="padding:10px;">
 	 <!-- SIMPLE SEARCH -->
 <div id="searchAcc" style="z-index:1;display:none;position:relative;">
+<form name="basicSearch" method="post" action="index.php" onSubmit="return callSearch('Basic');">
 <table width="80%" cellpadding="5" cellspacing="0"  class="searchUIBasic small" align="center" border=0>
 	<tr>
 		<td class="searchUIName small" nowrap align="left">
@@ -180,9 +180,11 @@
 		</td>
 	</tr>
 </table>
+</form>
 </div>
 <!-- ADVANCED SEARCH -->
 <div id="advSearch" style="display:none;">
+<form name="advSearch" method="post" action="index.php" onSubmit="totalnoofrows();return callSearch('Advanced');">
 		<table  cellspacing=0 cellpadding=5 width=80% class="searchUIAdv1 small" align="center" border=0>
 			<tr>
 					<td class="searchUIName small" nowrap align="left"><span class="moduleName">{$APP.LBL_SEARCH}</span><br><span class="small"><a href="#" onClick="show('searchAcc');fnhide('advSearch')">{$APP.LBL_GO_TO} {$APP.LNK_BASIC_SEARCH}</a></span></td>
@@ -229,8 +231,8 @@
 			</td>
 		</tr>
 	</table>
+</form>
 </div>		
-</form>
 {*<!-- Searching UI -->*}
 	 
 	   <!-- PUBLIC CONTENTS STARTS-->





More information about the vtigercrm-commits mailing list