diff --git a/src/index.html b/src/index.html index 48ce06c71..2ba820616 100644 --- a/src/index.html +++ b/src/index.html @@ -115,9 +115,8 @@ diff --git a/src/views/settings.js b/src/views/settings.js index 339a13497..90b4d25db 100644 --- a/src/views/settings.js +++ b/src/views/settings.js @@ -387,11 +387,8 @@ angular.module('Application').controller('SettingsController', ['$scope', '$loca }); } - $scope.pollSubscriptionStatus = function () { - if (!$scope.$parent) return; // user changed view. otherwise we get an error that $scope.$parent is null - - // poll on the main controller - $scope.$parent.pollSubscriptionStatus(); + $scope.openSubscriptionSetup = function () { + Client.openSubscriptionSetup($scope.subscription); }; $('#avatarFileInput').get(0).onchange = function (event) {