From 070b25275c27a159fc950cdcd2e8736113f51675 Mon Sep 17 00:00:00 2001 From: Poon Wu Date: Wed, 19 Oct 2016 13:45:13 +0700 Subject: [PATCH] Fixed #237 --- app/js/controller.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/js/controller.js b/app/js/controller.js index 43e008f7..2976427e 100644 --- a/app/js/controller.js +++ b/app/js/controller.js @@ -288,7 +288,7 @@ angular.module('reachRabbitApp.controller', ['reachRabbitApp.service']) $scope.hasPastMessage = function () { if(!$scope.msglist) return false; - if($scope.msglist.length == 0) return false; + if($scope.msglist.length === 0) return false; return $scope.totalElements > $scope.msglist.length; }; @@ -638,6 +638,7 @@ angular.module('reachRabbitApp.influencer.controller', ['reachRabbitApp.service' $scope.formData.bank = profile.data.influencer.bank; $scope.formData.accountNumber = profile.data.influencer.accountNumber; $scope.formData.accountName = profile.data.influencer.accountName; + $scope.formData.rememberBankDetail = true; }); InfluencerAccountService.getWallet().then(function (walletResponse) {