Compare commits

..

No commits in common. "c1a3bb6ba4e7b831e31ff8e6dc4aa6bbae8469fe" and "2a49ca6bf2d4feac3ce6e1381f5dd13521766fee" have entirely different histories.

3 changed files with 14 additions and 12 deletions

View File

@ -1,5 +1,5 @@
[tool.bumpversion]
current_version = "1.3.16"
current_version = "1.3.15"
commit = true
tag = true
tag_name = "{new_version}"

View File

@ -1 +1 @@
1.3.16
1.3.15

View File

@ -69,7 +69,7 @@
<h2>Load Details Via Text</h2>
<div class="form-group">
<label for="accountDetails">Paste Account Details</label>
<textarea class="form-control" id="accountDetails" rows="4" data-shared-text="{{ shared_text }}"></textarea>
<textarea class="form-control" id="accountDetails" rows="4"></textarea>
</div>
{% endif %}
{% endblock %}
@ -131,10 +131,11 @@
}
});
const accountDetailsTextarea = document.getElementById('accountDetails');
const sharedText = accountDetailsTextarea.dataset.sharedText;
const sharedText = '{{ shared_text|safe }}';
if (sharedText && sharedText !== 'None') {
if (sharedText) {
const accountDetailsTextarea = document.getElementById('accountDetails');
if (accountDetailsTextarea) {
accountDetailsTextarea.value = sharedText;
const event = new Event('input', {
bubbles: true,
@ -142,6 +143,7 @@
});
accountDetailsTextarea.dispatchEvent(event);
}
}
});
</script>
{% endblock %}