Skip to content

Commit

Permalink
Merge branch 'auto-collaps-for-kmapsTree-fix-typeahead-hint-css/MANU-…
Browse files Browse the repository at this point in the history
…5257/drc2r'
  • Loading branch information
rderik committed Sep 12, 2018
2 parents 175d5f5 + a613144 commit b464628
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
6 changes: 4 additions & 2 deletions app/assets/javascripts/kmaps_engine/jquery.kmapstree.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
// baseUrl: "http://subjects.kmaps.virginia.edu/"
sortNodes: true,
sortNodesBy: "header",
view: ""
view: "",
autoCollapse: false
};

// copied from jquery.fancytree.js to support moved loadKeyPath function
Expand Down Expand Up @@ -125,6 +126,7 @@
quicksearch: false,
checkbox: false,
selectMode: 2,
autoCollapse: plugin.settings.autoCollapse,
minExpandLevel: 1, // TODO: reconcile this with lazy loading. Only "1" is supported currently.
theme: 'bootstrap',
debugLevel: 0,
Expand Down Expand Up @@ -1005,4 +1007,4 @@
};


})(jQuery, window, document);
})(jQuery, window, document);
3 changes: 3 additions & 0 deletions app/assets/stylesheets/kmaps_engine/kmaps_typeahead.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@
*= require kmaps_typeahead/kmaps-typeahead
*/

.advanced-view .kmaps-tt-hint{
padding-left: 30px;
}
2 changes: 1 addition & 1 deletion lib/kmaps_engine/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module KmapsEngine
VERSION = '5.3.3'
VERSION = '5.3.4'
end

0 comments on commit b464628

Please sign in to comment.