Skip to content
Snippets Groups Projects
Commit d030c28d authored by Arthur Schiwon's avatar Arthur Schiwon
Browse files

bind undo to current deleteHandler

parent 29ef2f7a
No related branches found
No related tags found
No related merge requests found
......@@ -54,7 +54,7 @@ DeleteHandler.prototype.setNotification = function(notifier, dataID, message, un
$('#notification').on('click', '.undo', function () {
if ($('#notification').data(dh.notificationDataID)) {
var oid = dh.oidToDelete;
UserDeleteHandler.cancel();
dh.cancel();
if(typeof dh.undoCallback !== 'undefined') {
dh.undoCallback(oid);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment