Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add the tx-tree-expanded CSS class to nodes that are marked as initia…

…lly expanded
  • Loading branch information...
commit aae3d619ae1fe8758f9ce9c39675c523e88a560a 1 parent 5488194
@jochenberger authored
View
3  tapx-core/src/main/resources/com/howardlewisship/tapx/core/tapx.js
@@ -186,6 +186,9 @@ Tapx.extendInitializer(function() {
function initializer(spec) {
var loaded = spec.expanded;
var expanded = spec.expanded;
+ if (expanded) {
+ $(spec.clientId).addClassName("tx-tree-expanded")
+ }
var loading = false;
function successHandler(reply) {
Please sign in to comment.
Something went wrong with that request. Please try again.