Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

add the tx-tree-expanded CSS class to nodes that are marked as initially expanded #25

Merged
merged 1 commit into from

2 participants

@jochenberger
Collaborator

No description provided.

@hlship
Owner

Thanks for all the patches! I hope to apply them later this afternoon.

@hlship hlship merged commit aae3d61 into hlship:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
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) {
Something went wrong with that request. Please try again.