mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-06 02:38:11 +01:00
ui: Add withdrawal confirm popup.
This commit is contained in:
@@ -45,10 +45,10 @@
|
||||
<input name="edit_bid_submit" type="submit" value="Submit">
|
||||
{% else %}
|
||||
{% if data.was_received == 'True' %}
|
||||
<input name="accept_bid" type="submit" value="Accept Bid" onclick='confirmPopup("Accept")'><br/>
|
||||
<input name="accept_bid" type="submit" value="Accept Bid" onclick='return confirmPopup("Accept");'><br/>
|
||||
{% endif %}
|
||||
{% if data.can_abandon == true %}
|
||||
<input name="abandon_bid" type="submit" value="Abandon Bid" onclick='confirmPopup("Abandon")'>
|
||||
<input name="abandon_bid" type="submit" value="Abandon Bid" onclick='return confirmPopup("Abandon");'>
|
||||
{% endif %}
|
||||
{% if data.show_txns %}
|
||||
<input name="hide_txns" type="submit" value="Hide Info">
|
||||
@@ -116,7 +116,7 @@
|
||||
<p><a href="/">home</a></p>
|
||||
<script>
|
||||
function confirmPopup(name) {
|
||||
confirm(name + " Bid - Are you sure?");
|
||||
return confirm(name + " Bid - Are you sure?");
|
||||
}
|
||||
</script>
|
||||
</body></html>
|
||||
|
||||
Reference in New Issue
Block a user