Fixed Search box. Now submits when enter is pressed closes #24
This commit is contained in:
parent
262fe4bb4b
commit
42ee68caca
|
|
@ -181,7 +181,7 @@
|
||||||
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
echo $form->create('Enquiry', array('default'=>false, 'id'=>'searchForm'));
|
echo $form->create('Enquiry', array('default'=>false, 'id'=>'searchForm', 'default'=>'false'));
|
||||||
echo '<h2>Search';
|
echo '<h2>Search';
|
||||||
echo $html->image('system-search.png');
|
echo $html->image('system-search.png');
|
||||||
echo '</h2>';
|
echo '</h2>';
|
||||||
|
|
@ -189,15 +189,15 @@
|
||||||
|
|
||||||
echo $form->input('Enquiry.search_string', array('label'=>false, 'id'=>'searchString'));
|
echo $form->input('Enquiry.search_string', array('label'=>false, 'id'=>'searchString'));
|
||||||
|
|
||||||
|
?>
|
||||||
|
|
||||||
echo $form->end();
|
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
||||||
<div class ="ui-widget">
|
<div class ="ui-widget">
|
||||||
<button id="searchButton">Search</button>
|
<button id="searchButton">Search</button>
|
||||||
</div>
|
</div>
|
||||||
|
<?
|
||||||
|
echo $form->end();
|
||||||
|
?>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div id="ajaxLoading"><?php echo $html->image('ajax-loader.gif'); ?></div>
|
<div id="ajaxLoading"><?php echo $html->image('ajax-loader.gif'); ?></div>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue