diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2014-05-09 18:58:50 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2014-06-02 12:53:59 +0200 |
commit | d030c28d697d6de6349be979f74d7b10d3a2c4e8 (patch) | |
tree | be2f647c356e900bbd450bd252b9d6931c3b0938 /settings/js/users/deleteHandler.js | |
parent | 29ef2f7a2ffec00b8ce7186f9670f572dce0f872 (diff) | |
download | nextcloud-server-d030c28d697d6de6349be979f74d7b10d3a2c4e8.tar.gz nextcloud-server-d030c28d697d6de6349be979f74d7b10d3a2c4e8.zip |
bind undo to current deleteHandler
Diffstat (limited to 'settings/js/users/deleteHandler.js')
-rw-r--r-- | settings/js/users/deleteHandler.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/js/users/deleteHandler.js b/settings/js/users/deleteHandler.js index 82c44b30581..58017dd91a6 100644 --- a/settings/js/users/deleteHandler.js +++ b/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); } |