Fix tabs handling in the old layout. These shims are temporary.

This commit is contained in:
Joseph Schorr 2015-04-22 15:58:05 -04:00
parent 560cdeb931
commit 75e32ad700
6 changed files with 27 additions and 6 deletions

View file

@ -235,6 +235,21 @@ angular.module("core-ui", [])
return directiveDefinitionObject;
})
// TODO(jschorr): Remove this once new layout is in prod.
.directive('corTabShim', function() {
var directiveDefinitionObject = {
priority: 3,
replace: false,
transclude: false,
restrict: 'C',
scope: {},
controller: function($rootScope, $scope, $element, $timeout, $location, UIService) {
UIService.initializeTabs($scope, $element);
}
};
return directiveDefinitionObject;
})
.directive('corTabs', function() {
var directiveDefinitionObject = {
priority: 3,