window.Quser iso root.Quser
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
root = exports ? this
|
root = exports ? this
|
||||||
root.Quser=
|
window.Quser=
|
||||||
handle_active_list: (callback) ->
|
handle_active_list: (callback) ->
|
||||||
$.get('/user/list_info.json', (res) ->
|
$.get('/user/list_info.json', (res) ->
|
||||||
if !res.list_active
|
if !res.list_active
|
||||||
@@ -133,7 +133,6 @@ 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')
|
||||||
|
|||||||
Reference in New Issue
Block a user