chagnes
This commit is contained in:
@@ -21,7 +21,8 @@ html lang="en"
|
|||||||
var QMobile;
|
var QMobile;
|
||||||
// Dummy holder when Qmobile object is not supplied by the mobile phone
|
// Dummy holder when Qmobile object is not supplied by the mobile phone
|
||||||
QMobile || (QMobile = {
|
QMobile || (QMobile = {
|
||||||
scanQr: function(){window.location = '/select_qrcode'}
|
scanQr: function(){window.location = '/select_qrcode'},
|
||||||
|
activateRotation: function(){}
|
||||||
});
|
});
|
||||||
|
|
||||||
body
|
body
|
||||||
|
|||||||
@@ -23,5 +23,6 @@ table#active-order-table.table.table-striped.hide
|
|||||||
javascript:
|
javascript:
|
||||||
jQuery(function(){
|
jQuery(function(){
|
||||||
Quser.load_table_products('#{@table.id}', #{@table.occupied? ? 'true' : 'false'});
|
Quser.load_table_products('#{@table.id}', #{@table.occupied? ? 'true' : 'false'});
|
||||||
|
QMobile.activateRotation();
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user