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();
$('#notification').data(this.notificationDataID, true);
var msg = this.notificationMessage.replace(this.notificationPlaceholder,
this.oidToDelete);
- console.log('NOTISHOW ' + msg);
this.notifier.showHtml(msg);
}
};
}
var dh = this;
- console.log($('#notification').data(this.notificationDataID));
if($('#notification').data(this.notificationDataID) === true) {
dh.hideNotification();
- console.log('HIDDEN NOTI');
}
var payload = {};
//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);
GroupDeleteHandler.mark(GroupList.getElementGID(this));
});
- console.log('init del groups');
//delete a marked user when leaving the page
$(window).on('beforeunload', function () {
GroupDeleteHandler.delete();
});
//delete a marked user when leaving the page
- console.log('init del users');
$(window).on('beforeunload', function () {
UserDeleteHandler.delete();
});