Uploaded image for project: 'Magnolia Standard Templating Kit (closed)'
  1. Magnolia Standard Templating Kit (closed)
  2. MGNLSTK-829

jquery-tabtree.js -> options -> defaultSelected with no effect

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 1.4.6
    • themepop
    • None
    • Firefox 7.0.1, IE 8, ...

      we need to select a specific tab at page load.

      to do this we tried the initialization option: defaultSelected
      and set this to 1 ore 2 instead of 0 with no effects...

      Test 1:

      /templating-kit/themes/pop/js/init-behaviour.js :
      ...
      function createTabs(){

      $('ol.text-box-toc, ol.toc-box-toc')
      .each(function(){
      $(this)
      .tabtree(

      {activeButtonClass: 'on', defaultSelected: 2}

      )
      .tabChangeAddon();
      });
      }

      Test 2:

      /templating-kit/js/all/jquery-tabtree.js :
      ...
      $.widget('ui.tabtree', {
      options:

      { ... defaultSelected: 2, ... }

      ,

        Acceptance criteria

              Unassigned Unassigned
              dglanzmann Dan Glanzmann
              Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: