Changeset 29462


Ignore:
Timestamp:
Sep 10, 2014, 9:35:38 PM (10 years ago)
Author:
flop25
Message:

tour privacy: bug on icon lock, and now goto step 10 when clicking on a Edit link

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/TakeATour/tours/privacy/tour.tpl

    r29455 r29462  
    8181    redirect:function (tour) {window.location = "admin.php?page=album-{/literal}{$TAT_cat_id}{literal}";},
    8282    placement: "bottom",
    83     element: ".icon-lock",
     83    element: ".normal_tab .icon-lock",
     84    reflex:true,
    8485    title: "{/literal}{'privacy_title11'|@translate|@escape:'javascript'}{literal}",
    8586    content: "{/literal}{'privacy_stp11'|@translate|@escape:'javascript'}{literal}"
     
    178179// Start the tour
    179180tour.start();
     181
     182jQuery( "p.albumActions a" ).click(function() {
     183  if (tour.getCurrentStep()==9)
     184  {
     185    tour.goTo(10);
     186  }
     187});
     188
    180189{/literal}{/footer_script}
    181190{html_style}
Note: See TracChangeset for help on using the changeset viewer.