Content Blueprint save button style change
This commit is contained in:
committed by
Sebastiaan Janssen
parent
63060a88c6
commit
1371120e7c
@@ -271,8 +271,7 @@
|
||||
function createButtons(content) {
|
||||
|
||||
// for trashed and element type items, the save button is the primary action - otherwise it's a secondary action
|
||||
$scope.page.saveButtonStyle = content.trashed || content.isElement ? "primary" : "info";
|
||||
|
||||
$scope.page.saveButtonStyle = content.trashed || content.isElement || content.isBlueprint ? "primary" : "info";
|
||||
// only create the save/publish/preview buttons if the
|
||||
// content app is "Conent"
|
||||
if ($scope.app && $scope.app.alias !== "umbContent" && $scope.app.alias !== "umbInfo" && $scope.app.alias !== "umbListView") {
|
||||
|
||||
Reference in New Issue
Block a user