From 274a20ca5b290db5f56e16018462de01af4084fc Mon Sep 17 00:00:00 2001 From: goddomotfronk Date: Tue, 27 Jan 2015 15:39:12 +0200 Subject: [PATCH] Temprorary fix Temporary fix for https://github.com/christopherthielen/ui-router-extras/issues/138 --- release/ct-ui-router-extras.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/release/ct-ui-router-extras.js b/release/ct-ui-router-extras.js index db13931..8d1102b 100644 --- a/release/ct-ui-router-extras.js +++ b/release/ct-ui-router-extras.js @@ -1273,9 +1273,11 @@ angular.module('ct.ui.router.extras').provider('$futureState', $timeout(function () { if ($state.transition) { $state.transition.then($urlRouter.sync, $urlRouter.sync); - } else { - $urlRouter.sync(); } + // https://github.com/christopherthielen/ui-router-extras/issues/138 + //} else { + // $urlRouter.sync(); + //} }); }); } @@ -1439,4 +1441,4 @@ angular.module("ct.ui.router.extras").config( [ "$provide", function ($provide) ] ); -})(window, window.angular); \ No newline at end of file +})(window, window.angular);