diff options
author | flop25 <flop25@piwigo.org> | 2014-09-10 19:35:38 +0000 |
---|---|---|
committer | flop25 <flop25@piwigo.org> | 2014-09-10 19:35:38 +0000 |
commit | c2785a9e740997c78c65805caddccdab24189d78 (patch) | |
tree | 76b9c263faec32f715f0be152b16935b37e14ef2 /plugins/TakeATour/tours/privacy | |
parent | 00d3587501dcdf24528f383a57b420cac3d089ca (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')
-rw-r--r-- | plugins/TakeATour/tours/privacy/tour.tpl | 11 |
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 {
|