diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2017-11-24 17:44:00 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2017-11-24 17:44:00 +0100 |
| commit | 163d269eef310617a23b6b8be8270b44794dd723 (patch) | |
| tree | b647970281e8e89c1a976fbae12ed30e19e6db57 /StoneIsland/platforms/ios/www/js | |
| parent | 4380488815fa9dfe899fbacf71f5e0848544dd37 (diff) | |
deep linking working
Diffstat (limited to 'StoneIsland/platforms/ios/www/js')
| -rwxr-xr-x | StoneIsland/platforms/ios/www/js/index.js | 1 | ||||
| -rwxr-xr-x | StoneIsland/platforms/ios/www/js/lib/account/AccountView.js | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/StoneIsland/platforms/ios/www/js/index.js b/StoneIsland/platforms/ios/www/js/index.js index 72584894..4cae2f24 100755 --- a/StoneIsland/platforms/ios/www/js/index.js +++ b/StoneIsland/platforms/ios/www/js/index.js @@ -105,6 +105,7 @@ var app = (function(){ if (navigator.onLine) { app.account.connect(app.deepLinkRoute || '/intro') app.blog.fetch(function(){ + console.log("navigating to deep link route after fetch") app.router.initial_route = app.deepLinkRoute || "/intro" app.router.launch() }) diff --git a/StoneIsland/platforms/ios/www/js/lib/account/AccountView.js b/StoneIsland/platforms/ios/www/js/lib/account/AccountView.js index 04dfa828..4a6ff9e0 100755 --- a/StoneIsland/platforms/ios/www/js/lib/account/AccountView.js +++ b/StoneIsland/platforms/ios/www/js/lib/account/AccountView.js @@ -128,6 +128,7 @@ var AccountView = View.extend({ } else { if (initialLoginPath) { + console.log("navigating to deep link route from logged_in") app.router.go(initialLoginPath) } else { |
