From fa2f25154c4a924eeae43ae6db87a1d2b51c746d Mon Sep 17 00:00:00 2001 From: Romeo Fragomeli Date: Mon, 3 Feb 2020 14:46:09 +0000 Subject: [PATCH] [IMP] web_tour: activate tour service for mobile Before this commit, when you tried to run a tour by clicking on "Start Tour" in the debug menu, nothing happened and a warning message appeared in console: "debug_manager.js:53 No handler for start_tour". Now it will work on mobile too (debug mode only). We had to do this to be able to run the main flow tour on mobile. Note that another commit (in enterprise) will automatically consume all tours to avoid to display it for demonstration purposes. Task ID: 2149402 --- addons/web_tour/static/src/js/tour_service.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/addons/web_tour/static/src/js/tour_service.js b/addons/web_tour/static/src/js/tour_service.js index 87cf69b7d83..af4c8db0dc5 100644 --- a/addons/web_tour/static/src/js/tour_service.js +++ b/addons/web_tour/static/src/js/tour_service.js @@ -7,9 +7,6 @@ var rpc = require('web.rpc'); var session = require('web.session'); var TourManager = require('web_tour.TourManager'); -if (config.device.isMobile) { - return Promise.reject(); -} /** * @namespace * @property {Object} active_tooltips