Removed unnecessary code
authorAlexander Ebert <ebert@woltlab.com>
Fri, 12 Dec 2014 12:27:19 +0000 (13:27 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Fri, 12 Dec 2014 12:27:19 +0000 (13:27 +0100)
wcfsetup/install/files/js/WCF.Moderation.js
wcfsetup/install/files/js/WCF.User.js

index 5e6af1f6653247790f4e9433bcd008e184a6afb2..d896a03d1030e1ebe1a6b8a456743bac8bfdb315 100644 (file)
@@ -671,17 +671,5 @@ WCF.User.Panel.Moderation = WCF.User.Panel.Abstract.extend({
                        className: 'wcf\\data\\moderation\\queue\\ModerationQueueAction'
                });
                this._proxy.sendRequest();
-       },
-       
-       /**
-        * @see WCF.User.Panel.Abstract._success()
-        */
-       _success: function(data) {
-               this._super(data);
-               
-               if (data.actionName === 'markAllAsConfirmed') {
-                       this.resetItems();
-                       this.updateBadge(0);
-               }
        }
 });
index db32cf5e93bc77444e0d5c343e74e8a75a22f2ae..f1ca4610424ff40c6ab7df4fa5ed2e11ecf6c5f9 100644 (file)
@@ -454,18 +454,6 @@ WCF.User.Panel.Notification = WCF.User.Panel.Abstract.extend({
                this._proxy.sendRequest();
        },
        
-       /**
-        * @see WCF.User.Panel.Abstract._success()
-        */
-       _success: function(data) {
-               this._super(data);
-               
-               if (data.actionName === 'markAllAsConfirmed') {
-                       this.resetItems();
-                       this.updateBadge(0);
-               }
-       },
-       
        /**
         * @see WCF.User.Panel.Abstract.resetItems()
         */