diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2016-10-28 14:28:56 -0700 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2016-10-28 14:28:56 -0700 |
| commit | 7023f268b6dcf68f6f86589c36d390b9422b7f13 (patch) | |
| tree | 4c9f3708987fdeefc095e26bdd28f31c274f3d88 /www/js/app.js | |
| parent | edead70be5d4055111f6b6dcdd9e39d72b737458 (diff) | |
if desktop state was not created, I was not loading services #357
Diffstat (limited to 'www/js/app.js')
| -rw-r--r-- | www/js/app.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/www/js/app.js b/www/js/app.js index 59c931de..60a6fe0a 100644 --- a/www/js/app.js +++ b/www/js/app.js @@ -1497,13 +1497,14 @@ angular.module('zmApp', [ localforage.getItem('last-desktop-state') .then (function (succ) { - console.log ("FOUND " + JSON.stringify(succ)); + // console.log ("FOUND " + JSON.stringify(succ) + ":"+succ); if (succ) { $rootScope.lastState = succ.name; $rootScope.lastStateParam = succ.params; - loadServices(); + } + loadServices(); }, function (err) { console.log ("ERR " + JSON.stringify(err)); loadServices(); |
