This commit is contained in:
Arthur Schiwon 2014-05-13 15:22:46 +02:00
parent a9e8d53c8f
commit 7b63c2c036
4 changed files with 0 additions and 7 deletions

View file

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

View file

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

View file

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

View file

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