Section model shouldn't react to AJAX errors

Doing so overrides the AJAX error popup
This commit is contained in:
David Baumgold
2013-05-16 13:51:05 -04:00
parent 525fe2d581
commit a8431eeae2

View File

@@ -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) {