working mobile deploy
This commit is contained in:
@@ -33,7 +33,9 @@ var path_mapping = {
|
||||
user_root: '/user/home',
|
||||
join_occupied_table: '/user/join_occupied_table',
|
||||
list_products_for_table: '/user/list_products_for_table',
|
||||
list_products: '/user/list_products'
|
||||
list_products: '/user/list_products',
|
||||
active_list: '/user/active_list',
|
||||
history_list: '/user/history_list'
|
||||
}
|
||||
var translations = {
|
||||
confirmations: {
|
||||
@@ -67,7 +69,7 @@ function redirect_to(mapping, variables){
|
||||
for(var name in variables){
|
||||
vars.push(name + '=' +variables[name])
|
||||
}
|
||||
window.location = root_url + path_mapping[mapping] + '.html?' + vars.join('&')
|
||||
window.location = QMobile.root_url() + path_mapping[mapping] + '.html?' + vars.join('&')
|
||||
}
|
||||
function currency(num) {
|
||||
return Qwaiter.currency(num);
|
||||
|
||||
Reference in New Issue
Block a user