This is my code:
REDIPS.drag.event.deleted = function(){
//TODO
}
This is fired when an object is dropped in the 'trash' cell. I am trying to get the object id before it gets deleted, because I alse want to delete it in the database. How can I do this?
In the redips documentation it says :
deleted(cloned) Event handler invoked if element is deleted (dropped to the "trash" table cell). Parameters: {Boolean} cloned Optional True if cloned element is directly moved to the trash (in one move). If cloned element is dropped to the table and then moved to the trash then "cloned" parameter will be set to false.
src:http://www.redips.net/javascript/redips-drag-documentation/#event:deleted