move to evented mustache system

This commit is contained in:
2012-11-28 20:15:59 +01:00
parent 3da9dc68d7
commit 0fa0d1e0ba
31 changed files with 324 additions and 176 deletions
+1 -7
View File
@@ -10,11 +10,5 @@
th.currency= t('supplier.active_lists.price')
th.actions
tbody
- content_for :footer do
javascript:
var active_lists_interval;
jQuery(function(){
Qsupplier.load_active_lists()
active_lists_interval = setInterval('Qsupplier.load_active_lists()', 7500);
});
script#active-list-template[type="text/html"]= render 'active_list.mustache'
+1 -7
View File
@@ -10,10 +10,4 @@
th.currency= t('supplier.active_orders.price')
th.actions
tbody
- content_for :footer do
javascript:
jQuery(function(){
Qsupplier.load_active_orders()
setInterval( 'Qsupplier.load_active_orders()', 7500);
});
script#active-order-template[type="text/html"]= render 'active_order.mustache'
+3
View File
@@ -17,4 +17,7 @@
linker.hide();
}
}).change();
Qsupplier.load_active_orders()
Qsupplier.load_active_lists()
Qsupplier.watch_events();
});