We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c8a621 commit afa6fa5Copy full SHA for afa6fa5
src/Umbraco.Web.UI.Client/src/common/directives/components/content/edit.controller.js
@@ -1033,9 +1033,12 @@
1033
$scope.content.variants.forEach(variant => variant.save = false);
1034
//ensure the save flag is set for the active variant
1035
selectedVariant.save = true;
1036
+ $scope.page.previewButtonState = "busy";
1037
performSave({ saveMethod: $scope.saveMethod(), action: "save" }).then(function (data) {
1038
+ $scope.page.previewButtonState = "success";
1039
openPreviewWindow(url, urlTarget);
1040
}, function (err) {
1041
+ $scope.page.previewButtonState = "error";
1042
//validation issues ....
1043
});
1044
}
0 commit comments