From b379d0dec118d6a078b46498148ea5c0e63eb851 Mon Sep 17 00:00:00 2001 From: William Dibbern Date: Tue, 10 Sep 2013 09:42:27 -0500 Subject: [PATCH] Remove publish status reversion on failed save Fixes #511 - Removed logic to revert publish status back to page default on error. --- ghost/admin/views/editor.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/ghost/admin/views/editor.js b/ghost/admin/views/editor.js index 2d5f8e9b36..ffa4eaaec6 100644 --- a/ghost/admin/views/editor.js +++ b/ghost/admin/views/editor.js @@ -190,8 +190,6 @@ }, function (xhr) { // Show a notification about the error self.reportSaveError(xhr, model, status); - // Set the button text back to previous - model.set({ status: prevStatus }); }); },