Section model shouldn't react to AJAX errors
Doing so overrides the AJAX error popup
This commit is contained in:
@@ -19,7 +19,6 @@ CMS.Models.Section = Backbone.Model.extend({
|
||||
initialize: function() {
|
||||
this.listenTo(this, "request", this.showNotification);
|
||||
this.listenTo(this, "sync", this.hideNotification);
|
||||
this.listenTo(this, "error", this.hideNotification);
|
||||
},
|
||||
showNotification: function() {
|
||||
if(!this.msg) {
|
||||
|
||||
Reference in New Issue
Block a user