Elastic: Fix bug where file dialog appears when pressing Enter in task/event edit form (T4665)
This commit is contained in:
parent
b5dceb45aa
commit
1cc1d5f9f6
2 changed files with 2 additions and 2 deletions
|
@ -141,7 +141,7 @@
|
|||
<h3 id="aria-label-attachmentuploadform" class="voice"><roundcube:label name="arialabelattachmentuploadform" /></h3>
|
||||
<div id="edit-attachments-form" class="upload-form" role="region" aria-labelledby="aria-label-attachmentuploadform">
|
||||
<roundcube:object name="plugin.attachments_form" mode="hint" />
|
||||
<button class="btn btn-secondary attach" href="#" onclick="rcmail.upload_input('event-attachment-form'); return false"><roundcube:label name="addattachment" /></button>
|
||||
<button type="button" class="btn btn-secondary attach" href="#" onclick="rcmail.upload_input('event-attachment-form'); return false"><roundcube:label name="addattachment" /></button>
|
||||
</div>
|
||||
<div id="edit-attachments">
|
||||
<roundcube:object name="plugin.attachments_list" id="attachmentlist" class="attachmentslist" />
|
||||
|
|
|
@ -113,7 +113,7 @@
|
|||
<h3 id="aria-label-attachmentuploadform" class="voice"><roundcube:label name="arialabelattachmentuploadform" /></h3>
|
||||
<div id="taskedit-attachments-form" class="upload-form" role="region" aria-labelledby="aria-label-attachmentuploadform">
|
||||
<roundcube:object name="plugin.attachments_form" mode="hint" />
|
||||
<button class="btn btn-secondary attach" href="#" onclick="rcmail.upload_input('taskedit-attachment-form'); return false"><roundcube:label name="addattachment" /></button>
|
||||
<button type="button" class="btn btn-secondary attach" href="#" onclick="rcmail.upload_input('taskedit-attachment-form'); return false"><roundcube:label name="addattachment" /></button>
|
||||
</div>
|
||||
<div id="taskedit-attachments">
|
||||
<roundcube:object name="plugin.attachments_list" id="taskedit-attachment-list" class="attachmentslist" />
|
||||
|
|
Loading…
Add table
Reference in a new issue