Merge branch 'release/0.5.0.0-RC' into develop
This commit is contained in:
commit
bec2508545
1 changed files with 2 additions and 1 deletions
|
|
@ -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"));
|
||||
|
|
|
|||
Loading…
Reference in a new issue