From a8431eeae2288a867720531035f35f20e26dbd0b Mon Sep 17 00:00:00 2001 From: David Baumgold Date: Thu, 16 May 2013 13:51:05 -0400 Subject: [PATCH] Section model shouldn't react to AJAX errors Doing so overrides the AJAX error popup --- cms/static/js/models/section.js | 1 - 1 file changed, 1 deletion(-) diff --git a/cms/static/js/models/section.js b/cms/static/js/models/section.js index b24b281d51..5088132b89 100644 --- a/cms/static/js/models/section.js +++ b/cms/static/js/models/section.js @@ -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) {