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: 			<% if (kmeliaScc.isOrientedWebContent()) { %>
        child.li_attr = { class: child.attr['status'] };
  			<% } %>
  			if (child.attr['nbItems'] >= 0) {
  				child.text = child.text + " ("+child.attr['nbItems']+")";
          if (child.children && child.children.length > 0) {
            spreadNbItems(child.children);
          } else {
            child.children = true;
          }
  			}
      }
    }
  }
  
negative.code:               if (node.text) {
                  // this is the root
                  node.text = "<%=EncodeHelper.javaStringToHtmlString(componentLabel)%>";
                  decorateNodeName(node);
                  <% if (kmeliaScc.isOrientedWebContent()) { %>
                  node.li_attr = {class: node.attr['status']};
                  <% } %>
  