fix URI handler on chrome web and extension

This commit is contained in:
Gustavo Maximiliano Cortez 2014-11-23 18:58:30 -03:00
commit 2cec28a6c8
2 changed files with 3 additions and 3 deletions

View file

@ -104,9 +104,10 @@ angular
$idleProvider.warningDuration(40); // in seconds
$keepaliveProvider.interval(30); // in seconds
})
.run(function($rootScope, $location, $idle, gettextCatalog) {
.run(function($rootScope, $location, $idle, gettextCatalog, uriHandler) {
gettextCatalog.currentLanguage = config.defaultLanguage;
$idle.watch();
uriHandler.register();
$rootScope.$on('$routeChangeStart', function(event, next, current) {
if (!localStorage || localStorage.length < 1) {
$location.path('unsupported');