Commits

Shlomi Fish  committed b497a18

Fix the auto expansion.

Thanks to karolyi on #jquery .

  • Participants
  • Parent commits 2842436
  • Branches convert-from-jquery-treeview-to-jqtree-plugin

Comments (0)

Files changed (2)

File common/js/to-jqtree-2.js

         function(json_input) {
             $('#nav_menu').tree({
                 autoEscape: false,
-                autoOpen: false,
+                autoOpen: 0,
                 data: [ calc_jqtree_data_from_html_w_nav_menu_json(
                     {
                         input: json_input,

File lib/sass/treeview.sass

     div
         &.lastCollapsable-hitarea, &.lastExpandable-hitarea
             background-position: 0
+    .jqtree-closed > .jqtree_common
+        display: none
 
 /* fix for IE6