aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/TakeATour/tours/privacy/tour.tpl
diff options
context:
space:
mode:
authorflop25 <flop25@piwigo.org>2014-09-10 19:35:38 +0000
committerflop25 <flop25@piwigo.org>2014-09-10 19:35:38 +0000
commitc2785a9e740997c78c65805caddccdab24189d78 (patch)
tree76b9c263faec32f715f0be152b16935b37e14ef2 /plugins/TakeATour/tours/privacy/tour.tpl
parent00d3587501dcdf24528f383a57b420cac3d089ca (diff)
tour privacy: bug on icon lock, and now goto step 10 when clicking on a Edit link
git-svn-id: http://piwigo.org/svn/trunk@29462 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'plugins/TakeATour/tours/privacy/tour.tpl')
-rw-r--r--plugins/TakeATour/tours/privacy/tour.tpl11
1 files changed, 10 insertions, 1 deletions
diff --git a/plugins/TakeATour/tours/privacy/tour.tpl b/plugins/TakeATour/tours/privacy/tour.tpl
index 1918f5140..cd0f24f05 100644
--- a/plugins/TakeATour/tours/privacy/tour.tpl
+++ b/plugins/TakeATour/tours/privacy/tour.tpl
@@ -80,7 +80,8 @@ tour.addSteps([
path: /admin\.php\?page=album-/,
redirect:function (tour) {window.location = "admin.php?page=album-{/literal}{$TAT_cat_id}{literal}";},
placement: "bottom",
- element: ".icon-lock",
+ element: ".normal_tab .icon-lock",
+ reflex:true,
title: "{/literal}{'privacy_title11'|@translate|@escape:'javascript'}{literal}",
content: "{/literal}{'privacy_stp11'|@translate|@escape:'javascript'}{literal}"
},
@@ -177,6 +178,14 @@ tour.init();
// Start the tour
tour.start();
+
+jQuery( "p.albumActions a" ).click(function() {
+ if (tour.getCurrentStep()==9)
+ {
+ tour.goTo(10);
+ }
+});
+
{/literal}{/footer_script}
{html_style}
#step-21 {