Permalink
Browse files

Reset preventLocationChanged state after use it

  • Loading branch information...
1 parent 667b5b5 commit a48bd8e2bf6b0ed9b277dc472c53865edfed0975 @andresmoschini committed Aug 7, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 source/CommonJobs/CommonJobs.Mvc.UI/app/lib/angular/angular.js
View
2 source/CommonJobs/CommonJobs.Mvc.UI/app/lib/angular/angular.js
@@ -5377,6 +5377,8 @@ function $LocationProvider(){
$location.$$replace = false;
if (!$location.$$preventLocationChangedEvent) {
afterLocationChange(oldUrl);
+ } else {
+ $location.$$preventLocationChangedEvent = false;
}
}
});

0 comments on commit a48bd8e

Please sign in to comment.