From e44067087ef432734f91f7f15a5f6bed60caa832 Mon Sep 17 00:00:00 2001 From: flop25 Date: Wed, 1 Oct 2014 19:14:11 +0000 Subject: bug:3150 step 18 and 21 : can't click directly on links git-svn-id: http://piwigo.org/svn/trunk@29859 68402e56-0260-453c-a942-63ccdbb3a9ee --- plugins/TakeATour/tours/first_contact/tour.tpl | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/plugins/TakeATour/tours/first_contact/tour.tpl b/plugins/TakeATour/tours/first_contact/tour.tpl index b26603228..bd3b2bc60 100644 --- a/plugins/TakeATour/tours/first_contact/tour.tpl +++ b/plugins/TakeATour/tours/first_contact/tour.tpl @@ -292,4 +292,19 @@ tour.init(); // Start the tour tour.start(); + +jQuery( "#menubar > dl:nth-child(3) > dd > ul > li:nth-child(1) > a" ).click(function() { + if (tour.getCurrentStep()==17) + { + tour.goTo(18); + } +}); +jQuery( "p.albumActions > a:nth-child(1)" ).click(function() { + if (tour.getCurrentStep()==20) + { + tour.goTo(21); + } +}); + + {/literal}{/footer_script} -- cgit v1.2.3