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:
parent
ec17513933
commit
53446bdb76
|
|
@ -8,11 +8,6 @@
|
||||||
echo '</h2>';
|
echo '</h2>';
|
||||||
echo "<p>Enter part of an Enquiry Number, Customer Name or Contact Name</p>";
|
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('Enquiry.search_string', array('label'=>false, 'id'=>'searchString'));
|
||||||
|
|
||||||
//echo $form->input('Customer.id', array('type'=>'hidden'));
|
|
||||||
|
|
||||||
//echo $form->end('Search');
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<div class ="ui-widget">
|
<div class ="ui-widget">
|
||||||
|
|
|
||||||
|
|
@ -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 '<h2>Search';
|
||||||
echo $html->image('system-search.png');
|
echo $html->image('system-search.png');
|
||||||
echo '</h2>';
|
echo '</h2>';
|
||||||
|
|
@ -155,7 +155,7 @@
|
||||||
|
|
||||||
//echo $form->input('Customer.id', array('type'=>'hidden'));
|
//echo $form->input('Customer.id', array('type'=>'hidden'));
|
||||||
|
|
||||||
//echo $form->end('Search');
|
echo $form->end();
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -18,8 +18,8 @@ $("#dialogDiv").hide();
|
||||||
|
|
||||||
$("#dialogDiv").dialog({
|
$("#dialogDiv").dialog({
|
||||||
autoOpen: false,
|
autoOpen: false,
|
||||||
height: 800,
|
width: 900,
|
||||||
|
height: 900,
|
||||||
modal: true
|
modal: true
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue