fix: mixin and priority selections not showing

pull/30/head
moneroexamples 7 years ago
parent 4326ef7c0b
commit 5e19d5442d

@ -36,7 +36,7 @@ thinwalletCtrls.controller('SendCoinsCtrl', function($scope, $http, $q,
$scope.submitting = false;
$scope.targets = [{}];
$scope.totalAmount = JSBigInt.ZERO;
$scope.mixins = config.defaultMixin;
$scope.mixins = config.defaultMixin.toString();
$scope.view_only = AccountService.isViewOnly();
$scope.success_page = false;
@ -49,7 +49,7 @@ thinwalletCtrls.controller('SendCoinsCtrl', function($scope, $http, $q,
var default_priority = 2;
$scope.priority = default_priority;
$scope.priority = default_priority.toString();
$scope.openaliasDialog = undefined;
@ -254,7 +254,7 @@ thinwalletCtrls.controller('SendCoinsCtrl', function($scope, $http, $q,
var feePerKB = new JSBigInt(config.feePerKB);
var priority = $scope.priority || 2;
var priority = $scope.priority || default_priority;
if (!isInt(priority))
{

@ -34,7 +34,8 @@
<input class="w-input" id="Login-Key" type="text" placeholder="Enter your Private Login Key here"
name="Login-Key" data-name="Login Key" autocomplete="off" required="required" ng-model="mnemonic">
<label class="field-label" for="Login-Key-Language">Language</label>
<select class="w-input" id="Login-Key-Language" ng-model="mnemonic_language" selected="english" required="required">
<select class="w-input" id="Login-Key-Language" ng-model="mnemonic_language"
selected="english" required="required">
<option value="english">English</option>
<option value="portuguese">Portuguese</option>
<option value="spanish">Spanish</option>

@ -50,7 +50,7 @@ html {
</div>
</div>
<div class="no-account-div top-box">
<div class="info-header middle">Understand the Risks in Using this service</div>
<div class="info-header middle">Understand the Risks in Using this Service</div>
<div class="no-account-text thin middle">
This is a web-based interface that allows you to use Monero without running a full Monero node. However, because this convenience
comes at a cost: it is extremely difficult to securely deliver its code to your browser. This means that there is

@ -53,15 +53,15 @@
</div>
</div>
<label class="send-label" for="field4">Privacy Level</label>
<select class="w-select" id="field4" name="Select-a-number" data-name="Select a number"
<select class="w-input" id="field4" name="Select-a-number" data-name="Select a number"
required="required" ng-model="mixins">
<option value="4">Low (ring size 5)</option>
<option value="6">Medium (ring size 7)</option>
<option value="10">High (ring size 11)</option>
<option value="20">Paranoid (ring size 21)</option>
</select>
<label class="send-label" for="field4">Priority Level (adjusts miner fee)</label>
<select class="w-select" id="field4" name="Select-a-number" data-name="Select a number"
<label class="send-label" for="field5">Priority Level (adjusts miner fee)</label>
<select class="w-input" id="field5" name="Select-a-number" data-name="Select a number"
required="required" ng-model="priority">
<option value="1">Low (the cheapest, but might not confirm quickly)</option>
<option value="2">Medium (default, usually enough for all transactions)</option>

Loading…
Cancel
Save