Skip to content
Extraits de code Groupes Projets
Valider 3e5eb350 rédigé par Steffen van Bergerem's avatar Steffen van Bergerem Validation de Jonne Haß
Parcourir les fichiers

Notification dropdown: 'mark all as read' link scroll fix

parent 4b54e168
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -41,7 +41,8 @@ app.views.Notifications = Backbone.View.extend({
this.updateView(data["guid"], type, data["unread"]);
},
markAllRead: function(){
markAllRead: function(evt){
if(evt) { evt.preventDefault(); }
var self = this;
this.getAllUnread().each(function(i, el){
self.setRead($(el).data("guid"));
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter