Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.

Fix duplicated IDs. #901

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/js/components/balances.js
Original file line number Diff line number Diff line change
Expand Up @@ -1006,7 +1006,7 @@ function CreateDispenserModalViewModel() {
self.assetDisp(assetDisp);
self.rawBalance(rawBalance);
self.divisible(isDivisible);
$('#sendFeeOption').select2("val", self.feeOption()); //hack
$('#dispenserFeeOption').select2("val", self.feeOption()); //hack
self.shown(true);

$('#MemoType').select2("val", self.memoType()); // hack to set select2 value
Expand Down
2 changes: 1 addition & 1 deletion src/pages/balances.html
Original file line number Diff line number Diff line change
Expand Up @@ -1393,7 +1393,7 @@ <h4 class="modal-title" data-bind="locale: 'create_dispenser'"></h4>
<label class="control-label col col-sm-2" data-bind="locale: 'fee_option'"></label>
<div class="col col-sm-5">
<label class="input">
<select id="sendFeeOption" name="feeOption" class="select2" data-bind="select2: { minimumResultsForSearch: 100 }, value: feeOption, valueUpdate: 'input'" style="width:100%">
<select id="dispenserFeeOption" name="feeOption" class="select2" data-bind="select2: { minimumResultsForSearch: 100 }, value: feeOption, valueUpdate: 'input'" style="width:100%">
<option value="optimal" data-bind="locale: 'fee_option_optimal'"></option>
<option value="low_priority" data-bind="locale: 'fee_option_low_priority'"></option>
<option value="custom" data-bind="locale: 'fee_option_custom'"></option>
Expand Down