commit
ae20cf114f
3 changed files with 2 additions and 11 deletions
|
|
@ -11,8 +11,6 @@ angular.module('copayApp.controllers').controller('HomeController', function($sc
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if ($rootScope.fromEmailConfirmation) {
|
if ($rootScope.fromEmailConfirmation) {
|
||||||
$scope.confirmedEmail = true;
|
$scope.confirmedEmail = true;
|
||||||
$rootScope.fromEmailConfirmation = false;
|
$rootScope.fromEmailConfirmation = false;
|
||||||
|
|
|
||||||
|
|
@ -103,9 +103,8 @@ angular.module('copayApp.controllers').controller('SettingsController', function
|
||||||
|
|
||||||
$scope.reset = function() {
|
$scope.reset = function() {
|
||||||
localStorage.removeItem('config');
|
localStorage.removeItem('config');
|
||||||
$location.hash('top');
|
// Go home reloading the application
|
||||||
$anchorScroll();
|
window.location.reload();
|
||||||
$scope.message= 'Settings were reset to defaults';
|
|
||||||
};
|
};
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -8,12 +8,6 @@
|
||||||
<h1>{{title|translate}}</h1>
|
<h1>{{title|translate}}</h1>
|
||||||
<form name="settingsForm">
|
<form name="settingsForm">
|
||||||
|
|
||||||
<p class="text-primary size-14"
|
|
||||||
ng-show="message">
|
|
||||||
<i class="fi-check"></i>
|
|
||||||
{{message|translate}}
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend translate>Language</legend>
|
<legend translate>Language</legend>
|
||||||
<select class="form-control" ng-model="selectedLanguage" ng-options="o.name for o in availableLanguages" required>
|
<select class="form-control" ng-model="selectedLanguage" ng-options="o.name for o in availableLanguages" required>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue