From 7dbdc4e09de2fe24460190cead2ee317165c9453 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Fri, 21 Oct 2016 09:15:31 -0400 Subject: adding returns after state.go --> seems it takes time to go and code continues to execute below it - WTF! Former-commit-id: f1f7e2d62f47f9528d163db43fa166d088b0a819 --- www/js/WizardCtrl.js | 1 + 1 file changed, 1 insertion(+) (limited to 'www/js/WizardCtrl.js') diff --git a/www/js/WizardCtrl.js b/www/js/WizardCtrl.js index bb283460..610dfcc5 100644 --- a/www/js/WizardCtrl.js +++ b/www/js/WizardCtrl.js @@ -710,6 +710,7 @@ angular.module('zmApp.controllers').controller('zmApp.WizardCtrl', ['$scope', '$ $state.go("login", { "wizard": true }); + return; }; //-------------------------------------------------------------------------- -- cgit v1.2.3