Commit fe05d8dc9f7b3b8fdc02cf24fa6742c053bf8be1

Authored by Jose Pinto
1 parent 5493a16be8
Exists in master

fuera window.location.assign

Showing 1 changed file with 3 additions and 1 deletions   Show diff stats
src/js/controller.js
... ... @@ -124,7 +124,9 @@ angular.module('focaAbmPreciosCondiciones')
124 124 );
125 125  
126 126 Promise.all(promises).then(function() {
127   - $window.location.assign('/#!/precio-condicion');
  127 + $timeout(function() {
  128 + $location.path('/precio-condicion');
  129 + }, 0);
128 130 }, function(err){
129 131 console.error(err);
130 132 });