mirror of
https://github.com/ansible/awx.git
synced 2026-03-19 18:07:33 -02:30
adding useful comment to $state.defaultErrorHandler
This commit is contained in:
@@ -386,8 +386,9 @@ var tower = angular.module('Tower', [
|
|||||||
$rootScope.$stateParams = $stateParams;
|
$rootScope.$stateParams = $stateParams;
|
||||||
|
|
||||||
$state.defaultErrorHandler(function() {
|
$state.defaultErrorHandler(function() {
|
||||||
// Do not log transitionTo errors
|
// Do not log transitionTo errors. This function,
|
||||||
// $log.debug("transitionTo error: " + error );
|
// left empty, will prevent errors being displayed on the
|
||||||
|
// JS console that are caused by ui-router transitions.
|
||||||
});
|
});
|
||||||
|
|
||||||
I18NInit();
|
I18NInit();
|
||||||
|
|||||||
Reference in New Issue
Block a user