summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/js/editor.js
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2016-07-04 10:57:32 +0200
committerqsm-odoo <qsm@odoo.com>2016-07-04 16:40:27 +0200
commit91a2881ca115489891c3ad8dd98860aa459c6895 (patch)
tree5b5ddf3ca0092f2c396c1a7fac66da476fe99c77 /addons/web_editor/static/src/js/editor.js
parent53fe7e9fa60c287f4bf8c6d4b70a054038bb8aac (diff)
[FIX] web_tour: tours for mobile mode
Before this commit, tours were disabled for mobile mode by returning an undefined value in the web_tour.tour JS module. This made the use of "tour.register" or "tour.run" crash, thus making the runbot go red if this happened while phamtomJS was running. As it happened, some of the frontend tours goes by "preview the site on mobile mode" which then trigger this JS crash. This commit makes the web_tour.tour module return a fake tour object with a register method which does nothing and a run method which warns the user that tours cannot be launched in mobile mode.
Diffstat (limited to 'addons/web_editor/static/src/js/editor.js')
0 files changed, 0 insertions, 0 deletions