From c2785a9e740997c78c65805caddccdab24189d78 Mon Sep 17 00:00:00 2001 From: flop25 Date: Wed, 10 Sep 2014 19:35:38 +0000 Subject: 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 --- plugins/TakeATour/tours/privacy/tour.tpl | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'plugins/TakeATour/tours/privacy') 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 { -- cgit v1.2.3