diff --git a/static/js/transfer.js b/static/js/transfer.js index ba0bf9e3..9f768c3b 100644 --- a/static/js/transfer.js +++ b/static/js/transfer.js @@ -80,6 +80,7 @@ $(document).ready(function() { let dest = $("#dest_note"); $("#type_transfer").click(function() { + $("#source_me_div").removeClass('d-none'); $("#special_transaction_div").addClass('d-none'); source.attr('disabled', false); $("#source_note_list").removeClass('d-none'); @@ -88,6 +89,7 @@ $(document).ready(function() { }); $("#type_credit").click(function() { + $("#source_me_div").addClass('d-none'); $("#special_transaction_div").removeClass('d-none'); $("#source_note_list").addClass('d-none'); $("#dest_note_list").removeClass('d-none'); @@ -105,6 +107,7 @@ $(document).ready(function() { }); $("#type_debit").click(function() { + $("#source_me_div").addClass('d-none'); $("#special_transaction_div").removeClass('d-none'); $("#source_note_list").removeClass('d-none'); $("#dest_note_list").addClass('d-none'); diff --git a/templates/note/transaction_form.html b/templates/note/transaction_form.html index b761490d..3549871f 100644 --- a/templates/note/transaction_form.html +++ b/templates/note/transaction_form.html @@ -55,10 +55,12 @@ SPDX-License-Identifier: GPL-2.0-or-later