From 7b63c2c0362a54218841d548c2cafb5bc417a0db Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Tue, 13 May 2014 15:22:46 +0200 Subject: [PATCH] cleanup --- core/js/js.js | 1 - settings/js/users/deleteHandler.js | 4 ---- settings/js/users/groups.js | 1 - settings/js/users/users.js | 1 - 4 files changed, 7 deletions(-) diff --git a/core/js/js.js b/core/js/js.js index 968bf650ad5..096cc3ad7c1 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -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(); diff --git a/settings/js/users/deleteHandler.js b/settings/js/users/deleteHandler.js index 58017dd91a6..48c7f149928 100644 --- a/settings/js/users/deleteHandler.js +++ b/settings/js/users/deleteHandler.js @@ -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); diff --git a/settings/js/users/groups.js b/settings/js/users/groups.js index d7642743548..c3b8cc6a081 100644 --- a/settings/js/users/groups.js +++ b/settings/js/users/groups.js @@ -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(); diff --git a/settings/js/users/users.js b/settings/js/users/users.js index 48586b485d5..68098e03a50 100644 --- a/settings/js/users/users.js +++ b/settings/js/users/users.js @@ -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(); }); -- 2.39.5