From c109cd3ddd5ef9ee7f6893d64e0b53ffd2389b89 Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Tue, 19 Jan 2021 15:17:03 +0100 Subject: [PATCH] Source is not destination Signed-off-by: Yohann D'ANELLO --- apps/note/static/note/js/transfer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/note/static/note/js/transfer.js b/apps/note/static/note/js/transfer.js index 02388545..cc2a7124 100644 --- a/apps/note/static/note/js/transfer.js +++ b/apps/note/static/note/js/transfer.js @@ -302,7 +302,7 @@ $('#btn_transfer').click(function () { addMsg(interpolate(gettext('Warning, the emitter note %s is no more a BDE member.'), [source.name]), 'danger', 30000) } if (dest.note.membership && dest.note.membership.date_end < new Date().toISOString()) { - addMsg(interpolate(gettext('Warning, the destination note %s is no more a BDE member.'), [source.name]), 'danger', 30000) + addMsg(interpolate(gettext('Warning, the destination note %s is no more a BDE member.'), [dest.name]), 'danger', 30000) } if (!isNaN(source.note.balance)) {