Same change for the partialview editor - to display a localized success notifcation

This commit is contained in:
Warren Buckley
2017-01-19 15:01:14 +00:00
parent 2424a1c04b
commit ef64fbb839

View File

@@ -43,6 +43,12 @@
}).then(function (saved) {
notificationsService.success("Partial View saved");
localizationService.localize("speechBubbles_partialViewSavedHeader").then(function (headerValue) {
localizationService.localize("speechBubbles_partialViewSavedText").then(function(msgValue) {
notificationsService.success(headerValue, msgValue);
});
});
vm.page.saveButtonState = "success";
vm.partialView = saved;