]> source.dussan.org Git - nextcloud-server.git/commitdiff
cleanup
authorArthur Schiwon <blizzz@owncloud.com>
Tue, 13 May 2014 13:22:46 +0000 (15:22 +0200)
committerArthur Schiwon <blizzz@owncloud.com>
Mon, 2 Jun 2014 10:53:59 +0000 (12:53 +0200)
core/js/js.js
settings/js/users/deleteHandler.js
settings/js/users/groups.js
settings/js/users/users.js

index 968bf650ad52b6f51f6df32fdb8136298cb70a6c..096cc3ad7c137fe8ad1e4bc9ce525803975500e2 100644 (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();
index 58017dd91a61fe9c5e14450cff553097d9c9e417..48c7f149928409561c37df65e69969c5509ae4f9 100644 (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);
index d764274354839ead1870149f37073365b259cda6..c3b8cc6a0817cb7d0f3581b78e9d51dd81e59e54 100644 (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();
index 48586b485d537f7aa37d6d9cbf73c157fda2424b..68098e03a50b11b750daec3d4945d6a52c670e0e 100644 (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();
                });