From a18f5e71812875eef38f3025b2b89d39139334ee Mon Sep 17 00:00:00 2001 From: Hannah Wolfe Date: Wed, 18 Sep 2013 01:46:10 +0100 Subject: [PATCH] Post settings menu success notifications closes #786 --- core/client/views/post-settings.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/core/client/views/post-settings.js b/core/client/views/post-settings.js index c5027d501d..e012791f27 100644 --- a/core/client/views/post-settings.js +++ b/core/client/views/post-settings.js @@ -64,6 +64,11 @@ success : function (model, response, options) { // Repopulate slug in case it changed on the server (e.g. 'new-slug-2') slugEl.value = model.get('slug'); + Ghost.notifications.addItem({ + type: 'success', + message: "Permalink successfully changed to " + model.get('slug') + '.', + status: 'passive' + }); }, error : function (model, xhr) { Ghost.notifications.addItem({ @@ -117,6 +122,11 @@ }, { success : function (model, response, options) { pubDateEl.value = moment(model.get('published_at')).format("DD MMM YY"); + Ghost.notifications.addItem({ + type: 'success', + message: "Publish date successfully changed to " + pubDateEl.value + '.', + status: 'passive' + }); }, error : function (model, xhr) { Ghost.notifications.addItem({