mirror of
https://github.com/nextcloud/server.git
synced 2026-06-12 10:10:49 -04:00
cleanup
This commit is contained in:
parent
a9e8d53c8f
commit
7b63c2c036
4 changed files with 0 additions and 7 deletions
|
|
@ -668,7 +668,6 @@ OC.Notification={
|
|||
callback.call();
|
||||
}
|
||||
$('#notification').empty();
|
||||
console.log('OCNO EMPTY');
|
||||
if(OC.Notification.queuedNotifications.length > 0){
|
||||
OC.Notification.showHtml(OC.Notification.queuedNotifications[0]);
|
||||
OC.Notification.queuedNotifications.shift();
|
||||
|
|
|
|||
|
|
@ -74,7 +74,6 @@ DeleteHandler.prototype.showNotification = function() {
|
|||
$('#notification').data(this.notificationDataID, true);
|
||||
var msg = this.notificationMessage.replace(this.notificationPlaceholder,
|
||||
this.oidToDelete);
|
||||
console.log('NOTISHOW ' + msg);
|
||||
this.notifier.showHtml(msg);
|
||||
}
|
||||
};
|
||||
|
|
@ -123,10 +122,8 @@ DeleteHandler.prototype.delete = function() {
|
|||
}
|
||||
|
||||
var dh = this;
|
||||
console.log($('#notification').data(this.notificationDataID));
|
||||
if($('#notification').data(this.notificationDataID) === true) {
|
||||
dh.hideNotification();
|
||||
console.log('HIDDEN NOTI');
|
||||
}
|
||||
|
||||
var payload = {};
|
||||
|
|
@ -143,7 +140,6 @@ DeleteHandler.prototype.delete = function() {
|
|||
//TODO: following line
|
||||
dh.removeCallback(dh.oidToDelete);
|
||||
dh.canceled = true;
|
||||
console.log(dh.ajaxEndpoint);
|
||||
} else {
|
||||
OC.dialogs.alert(result.data.message, t('settings', 'Unable to delete ' + escapeHTML(dh.oidToDelete)));
|
||||
dh.undoCallback(dh.oidToDelete);
|
||||
|
|
|
|||
|
|
@ -210,7 +210,6 @@ GroupList = {
|
|||
GroupDeleteHandler.mark(GroupList.getElementGID(this));
|
||||
});
|
||||
|
||||
console.log('init del groups');
|
||||
//delete a marked user when leaving the page
|
||||
$(window).on('beforeunload', function () {
|
||||
GroupDeleteHandler.delete();
|
||||
|
|
|
|||
|
|
@ -264,7 +264,6 @@ var UserList = {
|
|||
});
|
||||
|
||||
//delete a marked user when leaving the page
|
||||
console.log('init del users');
|
||||
$(window).on('beforeunload', function () {
|
||||
UserDeleteHandler.delete();
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue