diff --git a/src/core/js/tour.js b/src/core/js/tour.js index fdea9b1bb3b8add721db400193647df6f8f7de16..7c84a30b5a6b454d2f4c090c9e0903ee9049f487 100644 --- a/src/core/js/tour.js +++ b/src/core/js/tour.js @@ -404,16 +404,21 @@ var tour = new function () { // initialize next/prev buttons var nb = $(this.popover.tip).find("button[data-role=next]") if (this.get_next()) { - nb.on("click", (e) => { - const pn = this.get_next() - pn.activate(true); - if ($("#" + pn.config.id).length == 0) { - sessionStorage["tour-page-open-next"] = pn.config.id; - window.location = pn.config.href - } else { - pn._open(); - } - }); + if (this.config.force_manual_action){ + nb.toggleClass("disabled", true); + nb.attr("title","Manual action required!") + } else { + nb.on("click", (e) => { + const pn = this.get_next() + pn.activate(true); + if ($("#" + pn.config.id).length == 0) { + sessionStorage["tour-page-open-next"] = pn.config.id; + window.location = pn.config.href + } else { + pn._open(); + } + }); + } } else { nb.toggleClass("invisible", true); }