Friday 02 April 2010 2:17:48 am
Hi I'd like to delete an object (Move it to trash or completely delete it according to user's wish). But when I'm using the Remove button (that triggers ActionRemove in /kernel/content/action.php), it only (without asking the user if object has to be removed or not) deletes one location. And only when the object has only one location left, then the Remove button asks if whether or not the object has to be moved to trash or has to be completely removed For my needs, I'd like to directly move the object to trash or completely remove it (according to users's wish) whatever the number of locations this object may have... Any idea on how to succeed this ? Thanks
|