mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-07 00:17:03 +03:00
PopupsAsk when hitting Enter, submit form
This commit is contained in:
parent
977868c1fa
commit
e6a711693b
1 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<div data-bind="html: askDesc"></div>
|
<div data-bind="html: askDesc"></div>
|
||||||
<form class="form-horizontal" data-bind="visible: askPass() || askUsername(), submit: yesClick" style="margin: 2em 0 0">
|
<form class="form-horizontal" data-bind="visible: askPass() || askUsername(), submit: yesClick" style="margin: 2em 0 0" id="AskForm">
|
||||||
<div class="control-group" data-bind="visible: askUsername">
|
<div class="control-group" data-bind="visible: askUsername">
|
||||||
<label data-i18n="GLOBAL/USERNAME"></label>
|
<label data-i18n="GLOBAL/USERNAME"></label>
|
||||||
<input type="text" data-bind="value: username">
|
<input type="text" data-bind="value: username">
|
||||||
|
|
@ -12,6 +12,6 @@
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<footer>
|
<footer>
|
||||||
<button class="btn buttonYes" data-bind="click: yesClick, text: yesButton" data-icon="✔"></button>
|
<button class="btn buttonYes" form="AskForm" data-bind="click: yesClick, text: yesButton" data-icon="✔"></button>
|
||||||
<button class="btn buttonNo" data-bind="click: noClick, text: noButton" data-icon="✖"></button>
|
<button class="btn buttonNo" data-bind="click: noClick, text: noButton" data-icon="✖"></button>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue