From acda99cf4d1d988e88e1d89151f059b23208a848 Mon Sep 17 00:00:00 2001 From: flop25 Date: Wed, 1 Oct 2014 19:29:01 +0000 Subject: Merged revision(s) 29859 from trunk/plugins/TakeATour: bug:3150 step 18 and 21 : can't click directly on links git-svn-id: http://piwigo.org/svn/branches/2.7@29860 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