anchor.diff:        target = treeview.get_node('#' + targetId);
         if (targetId == getToValidateFolderId() || targetId == getCurrentNodeId()) {
           canBeDropped = false;
  -      } else if (target.type === 'root' && arePublicationsOnRootAllowed()) {
  -        var profile = getUserProfile(targetId);
  -        if (profile != "<%=SilverpeasRole.user.toString()%>") {
  -          canBeDropped = true;
  -        }
  -      } else {
  +      } else if (target.type !== 'root' || arePublicationsOnRootAllowed()) {
           var profile = getUserProfile(targetId);
           if (profile != "<%=SilverpeasRole.user.toString()%>") {
             canBeDropped = true;
  
positive.code:   }
  }
  
  function spreadNbItems(children) {
  	if (children) {
  		for(var i = 0; i < children.length; i++) {
  
negative.code: 			<% if (kmeliaScc.isOrientedWebContent()) { %>
        child.li_attr = { class: child.attr['status'] };
  			<% } %>
        decorateNodeName(child);
        if (child.children && child.children.length > 0) {
          spreadNbItems(child.children);
        } else {
          child.children = true;
        }
      }
    }
  }
  