Loading...
 
Skip to main content

Plugin Tour broken in 19.x

Status
Closed
Subject
Plugin Tour broken in 19.x
Version
19.x
Category
  • Regression
Feature
Tours
Wiki Plugin (extends basic syntax)
Resolution status
Duplicate
Submitted by
luci
Lastmod by
luci
Rating
(0)
Related-to
Description

It is not possible to click "Next" or "End tour" in Tiki 19.x.

Sample code:

Copy to clipboard
{TOUR(title="Welcome to the tour" prev="-1")}Here's the start of a tour.{TOUR} . . . {TOUR(next="-1")}This is the last step of the tour.{TOUR}


Chrome Canary console output:

Copy to clipboard
Uncaught TypeError: $element.data(...).tip is not a function at Tour._showPopover (bootstrap-tour.js:597) at Tour._showPopoverAndOverlay (bootstrap-tour.js:552) at Tour._showPopoverAndOverlay (bootstrap-tour.js:22) at HTMLBodyElement.<anonymous> (bootstrap-tour.js:717) at HTMLBodyElement.opt.complete (jquery.js:7267) at fire (jquery.js:3268) at Object.fireWith [as resolveWith] (jquery.js:3398) at tick (jquery.js:7110) at Function.jQuery.fx.tick (jquery.js:7436) at schedule (jquery.js:6813)


After click on Next:

Copy to clipboard
popover.js:164 Uncaught TypeError: No method named "destroy" at HTMLSpanElement.<anonymous> (popover.js:164) at Function.each (jquery.js:354) at jQuery.fn.init.each (jquery.js:189) at jQuery.fn.init._jQueryInterface [as popover] (popover.js:149) at Tour.<anonymous> (bootstrap-tour.js:281) at Tour._callOnPromiseDone (bootstrap-tour.js:815) at Tour.hideStep (bootstrap-tour.js:305) at Tour.next (bootstrap-tour.js:179) at HTMLButtonElement.<anonymous> (bootstrap-tour.js:744) at HTMLDocument.dispatch (jquery.js:5183)


Probably some class names changed in the BS 3 to 4 transition.

Solution
r69044 hopefully
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
6927
Created
Saturday 17 November, 2018 15:01:24 UTC
by luci
LastModif
Tuesday 12 February, 2019 10:11:57 UTC


Show PHP error messages