[Edit] Switch other edit actions to mct-control

This commit is contained in:
Alex M
2016-09-24 20:43:35 +03:00
parent e3e7bd27e9
commit 4b51e604a7
2 changed files with 10 additions and 7 deletions

View File

@@ -42,11 +42,12 @@
</span>
<span ng-repeat="currentAction in otherEditActions">
<a class='s-button {{currentAction.getMetadata().cssclass}}'
title='{{currentAction.getMetadata().name}}'
ng-click="currentAction.perform()"
ng-class="{ major: $index === 0 && saveActions.length === 0 }">
<span class="title-label">{{currentAction.getMetadata().name}}</span>
</a>
<mct-control key="'button'"
structure="{
text: currentAction.getMetadata().name,
click: currentAction.perform,
cssclass: currentAction.getMetadata().cssclass
}">
</mct-control>
</span>
</span>