Merge remote-tracking branch 'refs/remotes/kgiszewski/master'

This commit is contained in:
kjac
2017-06-11 16:17:46 +02:00
2 changed files with 7 additions and 5 deletions
+6 -4
View File
@@ -249,7 +249,7 @@
.archetypeAddButton {
color: #ddd;
.icon {
vertical-align: text-top;
vertical-align: middle;
}
&:hover {
color: #333;
@@ -355,9 +355,11 @@
// Necessary to ensure empty lists can be dropped onto when sorting nested fieldsets.
.archetypeSortable.archetypeEmpty {
min-height: 42px;
border: 1px dashed #dddddd;
margin-top: 5px;
&.archetypeCrossDraggable {
min-height: 42px;
border: 1px dashed #dddddd;
margin-top: 5px;
}
}
}
+1 -1
View File
@@ -15,7 +15,7 @@
<span class="help-inline" val-msg-for="archetypeMandatory" val-toggle-msg="required">Required</span>
<!-- Fieldsets. -->
<ul ui-sortable="sortableOptions" class="archetypeSortable" ng-class="{archetypeEmpty: model.value.fieldsets.length === 0 || sortingLastItem()}" ng-model="model.value.fieldsets">
<ul ui-sortable="sortableOptions" class="archetypeSortable" ng-class="{archetypeEmpty: model.value.fieldsets.length === 0 || sortingLastItem(), archetypeCrossDraggable: model.config.enableCrossDragging}" ng-model="model.value.fieldsets">
<li ng-repeat="fieldset in model.value.fieldsets">
<fieldset ng-class="['archetype-fieldset-' + fieldset.alias, (getFieldsetValidity(fieldset) == false ? 'archetypeFieldsetError' : '')]" ng-init="fieldsetConfigModel = getConfigFieldsetByAlias(fieldset.alias)">
<div class="archetypeFieldsetLabel" ng-class="{enableCollapsing: model.config.enableCollapsing}">