parent
972e4be811
commit
08d7b4babe
23 changed files with 1290 additions and 630 deletions
|
@ -230,12 +230,12 @@ angular.module("core-ui", [])
|
|||
.directive('corTabContent', function() {
|
||||
var directiveDefinitionObject = {
|
||||
priority: 2,
|
||||
templateUrl: '/static/directives/cor-tab-content.html',
|
||||
replace: true,
|
||||
transclude: true,
|
||||
transclude: false,
|
||||
restrict: 'C',
|
||||
scope: {},
|
||||
controller: function($rootScope, $scope, $element) {
|
||||
$element.addClass('co-tab-content tab-content col-md-11');
|
||||
}
|
||||
};
|
||||
return directiveDefinitionObject;
|
||||
|
@ -248,7 +248,9 @@ angular.module("core-ui", [])
|
|||
replace: true,
|
||||
transclude: true,
|
||||
restrict: 'C',
|
||||
scope: {},
|
||||
scope: {
|
||||
'rememberCookie': '@rememberCookie'
|
||||
},
|
||||
controller: function($rootScope, $scope, $element, $timeout, $location, UIService) {
|
||||
$scope.isClosed = true;
|
||||
|
||||
|
@ -260,7 +262,7 @@ angular.module("core-ui", [])
|
|||
|
||||
UIService.initializeTabs($scope, $element, function() {
|
||||
$scope.isClosed = true;
|
||||
});
|
||||
}, $scope.rememberCookie);
|
||||
}
|
||||
};
|
||||
return directiveDefinitionObject;
|
||||
|
|
Reference in a new issue