mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 20:34:02 +03:00
Remove publish status reversion on failed save
Fixes #511 - Removed logic to revert publish status back to page default on error.
This commit is contained in:
parent
2a6d17f130
commit
b379d0dec1
@ -190,8 +190,6 @@
|
|||||||
}, function (xhr) {
|
}, function (xhr) {
|
||||||
// Show a notification about the error
|
// Show a notification about the error
|
||||||
self.reportSaveError(xhr, model, status);
|
self.reportSaveError(xhr, model, status);
|
||||||
// Set the button text back to previous
|
|
||||||
model.set({ status: prevStatus });
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user