alert table result

This commit is contained in:
2012-08-30 11:41:39 +02:00
parent 729f8a935a
commit 8c7b5a89a2
+1
View File
@@ -133,6 +133,7 @@ root.Quser=
) )
actions_for_table: (table)-> actions_for_table: (table)->
table = JSON.parse(table) if typeof(table) == 'string' table = JSON.parse(table) if typeof(table) == 'string'
alert(table)
$.get('/user/table_info.json?table_id='+table.table_id, (res)-> $.get('/user/table_info.json?table_id='+table.table_id, (res)->
if res.occupied if res.occupied
alert('Table is occupied') alert('Table is occupied')