aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/TakeATour/tours/first_contact/tour.tpl
diff options
context:
space:
mode:
authorflop25 <flop25@piwigo.org>2014-10-01 19:29:01 +0000
committerflop25 <flop25@piwigo.org>2014-10-01 19:29:01 +0000
commitacda99cf4d1d988e88e1d89151f059b23208a848 (patch)
tree61f0f4c1f82c0e2223f50a1368107f7cf0a15ead /plugins/TakeATour/tours/first_contact/tour.tpl
parent5ad27a59d3467330e3f7fe4a2d9ffea43b840ab6 (diff)
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
Diffstat (limited to 'plugins/TakeATour/tours/first_contact/tour.tpl')
-rw-r--r--plugins/TakeATour/tours/first_contact/tour.tpl15
1 files changed, 15 insertions, 0 deletions
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}