jQuery-ifying the menu

This commit is contained in:
Karl Cordes 2010-03-16 09:59:08 +11:00
parent c45b0f44df
commit a6873f7823
3 changed files with 7 additions and 2 deletions

View file

@ -20,6 +20,7 @@ class LineItem extends AppModel {
var $belongsTo = array(
'Quote' => array('className' => 'Quote',
'foreignKey' => 'quote_id',
'counterCache' => true,
'conditions' => '',
'fields' => '',
'order' => ''
@ -42,7 +43,7 @@ class LineItem extends AppModel {
var $order = "item_number ASC";
var $order = "LineItem.item_number ASC";
}
?>

View file

@ -57,7 +57,7 @@ foreach ($quote['QuotePage'] as $quotePage):
<div class="quoteproducts">
<h3><?php __('Products in this Quote');?></h3>
<h3><?php __($quote['Quote']['line_item_count'].' Items in this Quote');?></h3>
<div id="productTable"></div>

View file

@ -9,11 +9,15 @@
$(function() {
$("#customerName").autocomplete({
source: "/customers/completeCustomer",
minLength: 1
});
$("#CustomerCountryName").autocomplete({