Merge pull request #3891 from kjac/v8-fix-publish-on-preview

V8: Don't publish on preview
This commit is contained in:
Shannon Deminick
2018-12-18 17:24:14 +11:00
committed by GitHub

View File

@@ -815,7 +815,7 @@
//ensure the save flag is set
selectedVariant.save = true;
performSave({ saveMethod: contentResource.publish, action: "save" }).then(function (data) {
performSave({ saveMethod: $scope.saveMethod(), action: "save" }).then(function (data) {
previewWindow.location.href = redirect;
}, function (err) {
//validation issues ....