Permalink
Browse files

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

…lly expanded
  • Loading branch information...
1 parent 5488194 commit aae3d619ae1fe8758f9ce9c39675c523e88a560a @jochenberger jochenberger committed Apr 1, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 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) {

0 comments on commit aae3d61

Please sign in to comment.