aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/TakeATour/tours/first_contact/tour.tpl
diff options
context:
space:
mode:
authorflop25 <flop25@piwigo.org>2014-10-01 19:14:11 +0000
committerflop25 <flop25@piwigo.org>2014-10-01 19:14:11 +0000
commite44067087ef432734f91f7f15a5f6bed60caa832 (patch)
tree12e74ffa709eda14274b144b648f57727d93de4a /plugins/TakeATour/tours/first_contact/tour.tpl
parent2a8734ed91d0a550b07804dd885ec53c98290eec (diff)
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
Diffstat (limited to '')
-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}