Fixed Search box. Now submits when enter is pressed closes #24

This commit is contained in:
Karl Cordes 2011-06-28 11:18:41 +10:00
parent 262fe4bb4b
commit 42ee68caca

View file

@ -181,7 +181,7 @@
<?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 $html->image('system-search.png');
echo '</h2>';
@ -189,15 +189,15 @@
echo $form->input('Enquiry.search_string', array('label'=>false, 'id'=>'searchString'));
echo $form->end();
?>
?>
<div class ="ui-widget">
<button id="searchButton">Search</button>
</div>
<?
echo $form->end();
?>
<div id="ajaxLoading"><?php echo $html->image('ajax-loader.gif'); ?></div>