Fix publish dates issues (#3507)

This commit is contained in:
Kenn Jacobsen
2018-12-03 18:45:50 +01:00
committed by Sebastiaan Janssen
parent a8d7660150
commit 9ad69c11cb
5 changed files with 22 additions and 8 deletions

View File

@@ -253,9 +253,9 @@ function contentEditingHelper(fileManager, $q, $location, $routeParams, notifica
}
}
// If we have a scheduled publish or unpublish date change the default button to
// If we have a scheduled publish date change the default button to
// "save" and update the label to "save and schedule
if(args.content.releaseDate || args.content.removeDate) {
if(args.content.releaseDate) {
// if save button is alread the default don't change it just update the label
if (buttons.defaultButton && buttons.defaultButton.letter === "A") {