fix bug where it was possible to sort tabs outside sorting mode

This commit is contained in:
Mads Rasmussen
2015-06-18 14:41:59 +02:00
parent 2cc90fe140
commit c44d0a5ec0

View File

@@ -20,7 +20,7 @@
</div>
<!-- TAB ACTIVE OR INACTIVE STATE -->
<div class="edt-tab umb-card edt-tab-handle" ng-class="{'tab-state-active':tab.tabState=='active', 'tab-state-inactive': tab.tabState=='inActive', 'tab-is-inherited': tab.inherited}" ng-click="activateTab(tab)" ng-if="tab.tabState !== 'init'">
<div class="edt-tab umb-card" ng-class="{'tab-state-active':tab.tabState=='active', 'tab-state-inactive': tab.tabState=='inActive', 'tab-is-inherited': tab.inherited, 'edt-tab-handle': sortingMode}" ng-click="activateTab(tab)" ng-if="tab.tabState !== 'init'">
<div class="tab-title-wrapper">
@@ -65,11 +65,10 @@
</div>
<div class="edt-property" ng-show="property.propertyState!=='init'" ng-class="{'active': property.dialogIsOpen, 'property-state-active animated fadeIn': property.propertyState=='active', 'property-is-inherited': property.inherited}">
<div class="edt-property" ng-show="property.propertyState!=='init'" ng-class="{'active': property.dialogIsOpen, 'property-state-active animated fadeIn': property.propertyState=='active', 'property-is-inherited': property.inherited, 'edt-property-handle': sortingMode}">
<!-- property meta text -->
<div class="edt-property-meta" ng-class="{'edt-property-handle': sortingMode}">
<div class="edt-property-meta">
<div class="edt-property-inherited-from" ng-if="property.inherited"><i class="icon icon-merge"></i> Inherited from {{property.contentTypeName}}</div>