Blame view
app/views/fbo-Clients/fboClient.controller.js
859 Bytes
7379f005b
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
'use strict'; //Load controller angular.module('inspinia') .controller('fboClientsController', function($scope, $stateParams, UpdateAllFBO) { $(document).ready(function(){ $('.tab-pane').slimScroll({ height: '600px' }); }); $scope.fboAdmin = function(){ $('#tab-1').css('display', 'block'); $('#tab-2').css('display', 'none'); $('.customTab1').addClass('active'); $('.customTab2').removeClass('active'); $('.slimScrollDiv:first-child').css('display', 'block'); } $scope.fboDept = function(){ $('#tab-1').css('display', 'none'); $('#tab-2').css('display', 'block'); $('.customTab2').addClass('active'); $('.customTab1').removeClass('active'); $('.slimScrollDiv:first-child').css('display', 'none'); } }); |