Commit a8431eea by David Baumgold

Section model shouldn't react to AJAX errors

Doing so overrides the AJAX error popup
parent 525fe2d5
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment