Summary Table

Categories Total Count
PII 0
URL 0
DNS 0
EKL 0
IP 0
PORT 0
VsID 0
CF 0
AI 0
VPD 0
PL 0
Other 0

File Content

define(['angular', 'app', 'global'], function (angular, app) {
'use strict';

app.controller('NavigationInstructionsController', function ($scope,$state, $timeout, $modalInstance, focusService,localStorageService ) {

$scope.$watch(function () {
return $('div.modal-header h3').is(":visible");
}, function (isVisible, wasVisible) {
if (isVisible && !wasVisible) {
focusService.focusElement($('div.modal-header h3'));
}
});

$scope.ok = function () {
$timeout(function () {
focusService.focusElement('.primary-header h2');
}, 600);
$modalInstance.close();
};

$scope.dontShowNavClicked = function () {
localStorage.setItem(localStorageService.keys['no-show-navigation-tips'], true);
$timeout(function () {
focusService.focusElement('.primary-header h2');
}, 600);
$modalInstance.close();
};
});
});