Permalink
Browse files

Fix Xtree : do not reposition node if it's ajxp_recycle.

  • Loading branch information...
1 parent f6611df commit 8400f8d2fe87280f0048e7f0b402240820cbe022 @cdujeu cdujeu committed Aug 26, 2016
@@ -222,7 +222,7 @@ WebFXTreeAbstractNode.prototype.add = function (node, bNoIdent) {
$(this.id + '-cont').insert(node.toString());
var addedBloc = $(this.id + '-cont').down('#' + node.id);
var addedCont = $(this.id + '-cont').down('#' + node.id + '-cont');
- if(this.childNodes.length > 2 && node.ajxpNode){
+ if(this.childNodes.length > 2 && node.ajxpNode && node.ajxpNode.getAjxpMime() !== 'ajxp_recycle'){
var sorted = Object.keys(this.childrenPathes).sort(function(a,b){
return a.toLowerCase().localeCompare(b.toLowerCase());
});
Oops, something went wrong.
@@ -28,7 +28,7 @@ body, html
{
margin: 0;
padding: 0;
- background-color: #333;
+ background-color: #fcfcff;
overflow-x: hidden;
}
@@ -86,7 +86,7 @@ body,
html {
margin: 0;
padding: 0;
- background-color: #333;
+ background-color: #fcfcff;
overflow-x: hidden;
}
* {

0 comments on commit 8400f8d

Please sign in to comment.