Permalink
Browse files

Merge branch 'add-expanded-class-to-initially-expanded-nodes' of http…

…s://github.com/jochenberger/tapx into jochenberger-add-expanded-class-to-initially-expanded-nodes
  • Loading branch information...
2 parents 9b49639 + aae3d61 commit 22a52c9a82f9b1583106d9744816d91fb09bf887 @hlship committed Apr 2, 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 22a52c9

Please sign in to comment.