fix bug for closing lists on preloaded view and add acceptance body
This commit is contained in:
@@ -25,7 +25,7 @@ html lang="en"
|
||||
- unless ENV['QWAITER_MOBILE_EXPORT'] == 'yes'
|
||||
javascript:
|
||||
#{Rails.env.production? ? '' : "data_host = 'http://qwaiter.dev';"}
|
||||
//var data_host = 'http://localhost:3000';
|
||||
var data_host = 'http://localhost:3000';
|
||||
QMobile || (QMobile = {
|
||||
scanQr: function(){window.location = '/select_qrcode'},
|
||||
activateRotation: function(){},
|
||||
@@ -76,7 +76,7 @@ html lang="en"
|
||||
.span12
|
||||
= yield
|
||||
= javascript_include_tag "user/application"
|
||||
script#alert-template[type="text/html"]= render 'alert.mustache'
|
||||
script#alert-template[type="text/html"]= render 'user/alert.mustache'
|
||||
= yield :footer
|
||||
javascript:
|
||||
jQuery(function(){#{onload_javascript}});
|
||||
|
||||
Reference in New Issue
Block a user