fix loading indicator position/size for tree leafs
This commit is contained in:
parent
7fbc10c236
commit
b7d63a58db
|
@ -61,6 +61,11 @@
|
||||||
height : 9px;
|
height : 9px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.claro .dijitTreeNode .loadingExpando {
|
||||||
|
left : -3px;
|
||||||
|
height : 21px;
|
||||||
|
}
|
||||||
|
|
||||||
.claro .dijitFolderClosed,
|
.claro .dijitFolderClosed,
|
||||||
.claro .dijitFolderOpened {
|
.claro .dijitFolderOpened {
|
||||||
display : none;
|
display : none;
|
||||||
|
|
|
@ -386,6 +386,7 @@ require(["dojo/_base/declare", "dojo/dom-construct", "dijit/Tree", "dijit/Menu"]
|
||||||
} else {
|
} else {
|
||||||
var icon = dojo.doc.createElement('img');
|
var icon = dojo.doc.createElement('img');
|
||||||
icon.src = src;
|
icon.src = src;
|
||||||
|
icon.className = 'loadingExpando';
|
||||||
domConstruct.place(icon, treeNode.expandoNode, 'only');
|
domConstruct.place(icon, treeNode.expandoNode, 'only');
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue