From 1eab95a29add727ac42bcad1ec81f4d378167fe4 Mon Sep 17 00:00:00 2001 From: Benjamin ter Kuile Date: Thu, 30 Aug 2012 12:00:21 +0200 Subject: [PATCH] window.Quser iso root.Quser --- app/assets/javascripts/quser.js.coffee | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/assets/javascripts/quser.js.coffee b/app/assets/javascripts/quser.js.coffee index 30e59989..5a0ba271 100644 --- a/app/assets/javascripts/quser.js.coffee +++ b/app/assets/javascripts/quser.js.coffee @@ -1,5 +1,5 @@ root = exports ? this -root.Quser= +window.Quser= handle_active_list: (callback) -> $.get('/user/list_info.json', (res) -> if !res.list_active @@ -133,7 +133,6 @@ root.Quser= ) actions_for_table: (table)-> table = JSON.parse(table) if typeof(table) == 'string' - alert(table) $.get('/user/table_info.json?table_id='+table.table_id, (res)-> if res.occupied alert('Table is occupied')