__pkginfo__.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 11 Dec 2017 16:36:28 +0100
changeset 2913 5205b3490f1c
parent 2377 3315ecaad760
permissions lrwxrwxrwx
[seda tree / js] Reimplement rules telling which moves are allowed within the js tree And call the ajax API accordingly. We now allow on top of the earlier "maybeParentOf" mecanism: * to reorder binary / physical data object * to reorder archive units. To do so, we: * turn 'inside' position while moving a node which is already a children node into 'before' + first children as target node, * check if the position is correct, provided that we don't want to mix types: binary objects should be before physical objects which should be before archival units, * call the ajax API by giving it the relative index above mentionned (i.e. index of the node within nodes of the same type).

cubicweb_seda/__pkginfo__.py