Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Fix Xtree : do not reposition node if it's ajxp_recycle.
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed Aug 26, 2016
1 parent f6611df commit 8400f8d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion core/src/plugins/gui.ajax/res/js/vendor/webfx/xtree.js
Expand Up @@ -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());
});
Expand Down
2 changes: 1 addition & 1 deletion core/src/plugins/gui.ajax/res/themes/orbit/css/allz.css

Large diffs are not rendered by default.

Expand Up @@ -28,7 +28,7 @@ body, html
{
margin: 0;
padding: 0;
background-color: #333;
background-color: #fcfcff;
overflow-x: hidden;
}

Expand Down
2 changes: 1 addition & 1 deletion core/src/plugins/gui.ajax/res/themes/orbit/css/pydio.css
Expand Up @@ -86,7 +86,7 @@ body,
html {
margin: 0;
padding: 0;
background-color: #333;
background-color: #fcfcff;
overflow-x: hidden;
}
* {
Expand Down

0 comments on commit 8400f8d

Please sign in to comment.