|
|
@ -358,14 +358,15 @@ BI.TreeView = BI.inherit(BI.Pane, { |
|
|
|
n.title = n.text; |
|
|
|
n.title = n.text; |
|
|
|
} |
|
|
|
} |
|
|
|
var text = BI.createWidget(BI.extend({ |
|
|
|
var text = BI.createWidget(BI.extend({ |
|
|
|
type: "bi.text", |
|
|
|
|
|
|
|
cls: "tree-node-text", |
|
|
|
cls: "tree-node-text", |
|
|
|
css: { |
|
|
|
css: { |
|
|
|
display: "inline" |
|
|
|
display: "inline" |
|
|
|
}, |
|
|
|
}, |
|
|
|
whiteSpace: "nowrap", |
|
|
|
whiteSpace: "nowrap", |
|
|
|
root: true |
|
|
|
root: true |
|
|
|
}, n)); |
|
|
|
}, n, { |
|
|
|
|
|
|
|
type: "bi.text" |
|
|
|
|
|
|
|
})); |
|
|
|
var fragment = BI.Widget._renderEngine.createElement("<div>"); |
|
|
|
var fragment = BI.Widget._renderEngine.createElement("<div>"); |
|
|
|
fragment.append(text.element[0]); |
|
|
|
fragment.append(text.element[0]); |
|
|
|
n.text = fragment.html(); |
|
|
|
n.text = fragment.html(); |
|
|
|