-.v-theme-version:after {content:"6_5_5_dev-20110407";}
-.v-theme-version-6_5_5_dev-20110407 {display: none;}
+.v-theme-version:after {content:"6_5_5_dev-20110408";}
+.v-theme-version-6_5_5_dev-20110408 {display: none;}
/* Automatically compiled css file from subdirectories. */
.v-absolutelayout-wrapper {
background: transparent url(common/img/sprites.png) no-repeat 5px -37px;
padding: 1px 0;
}
-.v-tree-node:focus {
+.v-tree-node-caption:focus {
outline: none;
}
.v-tree-node-expanded {
background: transparent url(../common/img/sprites.png) no-repeat 5px -37px;
padding: 1px 0;
}
-.v-tree-node:focus {
+.v-tree-node-caption:focus {
outline: none;
}
.v-tree-node-expanded {
-.v-theme-version:after {content:"6_5_5_dev-20110407";}
-.v-theme-version-6_5_5_dev-20110407 {display: none;}
+.v-theme-version:after {content:"6_5_5_dev-20110408";}
+.v-theme-version-6_5_5_dev-20110408 {display: none;}
/* Automatically compiled css file from subdirectories. */
.v-absolutelayout-wrapper {
background: transparent url(../base/common/img/sprites.png) no-repeat 5px -37px;
padding: 1px 0;
}
-.v-tree-node:focus {
+.v-tree-node-caption:focus {
outline: none;
}
.v-tree-node-expanded {
-.v-theme-version:after {content:"6_5_5_dev-20110407";}
-.v-theme-version-6_5_5_dev-20110407 {display: none;}
+.v-theme-version:after {content:"6_5_5_dev-20110408";}
+.v-theme-version-6_5_5_dev-20110408 {display: none;}
/* Automatically compiled css file from subdirectories. */
.v-absolutelayout-wrapper {
background: transparent url(../base/common/img/sprites.png) no-repeat 5px -37px;
padding: 1px 0;
}
-.v-tree-node:focus {
+.v-tree-node-caption:focus {
outline: none;
}
.v-tree-node-expanded {
-.v-theme-version:after {content:"6_5_5_dev-20110407";}
-.v-theme-version-6_5_5_dev-20110407 {display: none;}
+.v-theme-version:after {content:"6_5_5_dev-20110408";}
+.v-theme-version-6_5_5_dev-20110408 {display: none;}
/* Automatically compiled css file from subdirectories. */
.v-absolutelayout-wrapper {
background: transparent url(../base/common/img/sprites.png) no-repeat 5px -37px;
padding: 1px 0;
}
-.v-tree-node:focus {
+.v-tree-node-caption:focus {
outline: none;
}
.v-tree-node-expanded {
DOM.sinkEvents(ie6compatnode, Event.ONCLICK);
}
- /*
- * Focus the TreeNode itself to get keyboard navigation to work.
- */
- getElement().setTabIndex(-1);
nodeCaptionDiv = DOM.createDiv();
DOM.setElementProperty(nodeCaptionDiv, "className", CLASSNAME
DOM.appendChild(nodeCaptionDiv, wrapper);
DOM.appendChild(wrapper, nodeCaptionSpan);
+ /*
+ * Focus the caption div of the node to get keyboard navigation to
+ * work without scrolling up or down when focusing a node.
+ */
+ nodeCaptionDiv.setTabIndex(-1);
+
childNodeContainer = new FlowPanel();
childNodeContainer.setStyleName(CLASSNAME + "-children");
setWidget(childNodeContainer);
ie6compatnode.addClassName(CLASSNAME_FOCUSED);
}
this.focused = focused;
- getElement().focus();
+ nodeCaptionDiv.focus();
treeHasFocus = true;
} else if (this.focused && !focused) {
nodeCaptionDiv.removeClassName(CLASSNAME_FOCUSED);