bind undo to current deleteHandler

remotes/origin/ldap_group_count
Arthur Schiwon 12 years ago
parent 29ef2f7a2f
commit d030c28d69
  1. 2
      settings/js/users/deleteHandler.js

@ -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);
}

Loading…
Cancel
Save