diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2018-05-03 11:39:59 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2018-05-03 11:39:59 -0400 |
| commit | 27d7668600bb5e3d7b47b97d5cc2abc11bb7136b (patch) | |
| tree | bae3157098523e1b1c89ba58dde5069681e64ce0 /www/js/LoginCtrl.js | |
| parent | 9083e72b798631fb00c5483bbc9176e1cacbda16 (diff) | |
take off scroll sista, other fixes
Diffstat (limited to 'www/js/LoginCtrl.js')
| -rw-r--r-- | www/js/LoginCtrl.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/www/js/LoginCtrl.js b/www/js/LoginCtrl.js index 9a21f654..a6d50530 100644 --- a/www/js/LoginCtrl.js +++ b/www/js/LoginCtrl.js @@ -261,6 +261,12 @@ angular.module('zmApp.controllers').controller('zmApp.LoginCtrl', ['$scope', '$r if ($stateParams.wizard == "true") { NVRDataModel.log("Creating new login entry for wizard"); $scope.loginData = angular.copy(NVRDataModel.getDefaultLoginObject()); + + // default object has this as false + if ($rootScope.platformOS=='ios') { + $scope.loginData.disableSimulStreaming = true; + } + $scope.loginData.serverName = $rootScope.wizard.serverName; $scope.loginData.url = $rootScope.wizard.loginURL; $scope.loginData.apiurl = $rootScope.wizard.apiURL; |
