[Vtigercrm-commits] [vtiger-commits] r9462 - /vtigercrm/trunk/Smarty/templates/ListView.tpl
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Tue Sep 12 17:52:49 EDT 2006
Author: richie
Date: Tue Sep 12 15:52:37 2006
New Revision: 9462
Log:
Fixed the Custom View handling in basic search --by philip
Modified:
vtigercrm/trunk/Smarty/templates/ListView.tpl
Modified: vtigercrm/trunk/Smarty/templates/ListView.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/ListView.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/ListView.tpl Tue Sep 12 15:52:37 2006
@@ -30,7 +30,7 @@
getObj(data_td_id).className = 'searchAlph';
{rdelim}
gPopupAlphaSearchUrl = '';
- search_fld_val= document.basicSearch.search_field[document.basicSearch.search_field.selectedIndex].value;
+ search_fld_val= $('bas_searchfield').options[$('bas_searchfield').selectedIndex].value;
search_txt_val=document.basicSearch.search_text.value;
var urlstring = '';
if(searchtype == 'Basic')
@@ -151,10 +151,13 @@
</td>
<td class="small" nowrap align=right><b>{$APP.LBL_SEARCH_FOR}</b></td>
<td class="small"><input type="text" class="txtBox" style="width:120px" name="search_text"></td>
- <td class="small" nowrap><b>{$APP.LBL_IN}</b>
- <select name ="search_field" class="txtBox" style="width:150px">
+ <td class="small" nowrap><b>{$APP.LBL_IN}</b> </td>
+ <td class="small" nowrap>
+ <div id="basicsearchcolumns_real">
+ <select name="search_field" id="bas_searchfield" class="txtBox" style="width:150px">
{html_options options=$SEARCHLISTHEADER }
</select>
+ </div>
<input type="hidden" name="searchtype" value="BasicSearch">
<input type="hidden" name="module" value="{$MODULE}">
<input type="hidden" name="parenttab" value="{$CATEGORY}">
@@ -169,7 +172,7 @@
<td class="small" valign="top" onMouseOver="this.style.cursor='pointer';" onclick="moveMe('searchAcc');searchshowhide('searchAcc','advSearch')">[x]</td>
</tr>
<tr>
- <td colspan="6" align="center" class="small">
+ <td colspan="7" align="center" class="small">
<table border=0 cellspacing=0 cellpadding=0 width=100%>
<tr>
{$ALPHABETICAL}
More information about the vtigercrm-commits
mailing list