Tweaked search. Now appears in a modal dialog. Fails back to regular page if you open in a new tab

This commit is contained in:
Karl Cordes 2010-05-13 12:35:45 +10:00
parent ec17513933
commit 53446bdb76
3 changed files with 4 additions and 9 deletions

View file

@ -8,11 +8,6 @@
echo '</h2>';
echo "<p>Enter part of an Enquiry Number, Customer Name or Contact Name</p>";
echo $form->input('Enquiry.search_string', array('label'=>false, 'id'=>'searchString'));
//echo $form->input('Customer.id', array('type'=>'hidden'));
//echo $form->end('Search');
?>
<div class ="ui-widget">

View file

@ -146,7 +146,7 @@
<?php echo $form->create('Enquiry', array('default'=>false));
<?php echo $form->create('Enquiry', array('default'=>false, 'div'=>false));
echo '<h2>Search';
echo $html->image('system-search.png');
echo '</h2>';
@ -155,7 +155,7 @@
//echo $form->input('Customer.id', array('type'=>'hidden'));
//echo $form->end('Search');
echo $form->end();
?>

View file

@ -18,8 +18,8 @@ $("#dialogDiv").hide();
$("#dialogDiv").dialog({
autoOpen: false,
height: 800,
width: 900,
height: 900,
modal: true
});