better broadcasting for user

This commit is contained in:
2012-12-01 16:12:04 +01:00
parent a14687d568
commit 926be8ec48
7 changed files with 50 additions and 17 deletions
@@ -30,6 +30,15 @@ root.Qsupplier=
$('#order-in-process-button-'+e.data.id).hide()
else if e.event == 'order_being_delivered'
$('#order-row-'+e.data.id).remove()
else if e.event == 'list_changed_table'
list_row = $('#list-row-'+e.data.list_id)
list_row.find('.table_number').text(e.data.table.number).addClass('changed')
list_row.find('.section_title').text(e.data.section_title)
order_rows = $('.of-list-'+e.data.list_id)
order_rows.find('.table_number').text(e.data.table.number).addClass('changed')
order_rows.find('.section_title').text(e.data.section_title)
console.log(e)
false
move_table_to_active_section: (table_id)->