ui: fix discussion_edit ctrl+enter hotkey

This commit is contained in:
undefined committed 2022-12-28 19:54:56 +08:00
1 parent e365c3ccd6
commit 013ae1172b
3 files changed
+5 -3

No files matched your search

+1 -1
View File
@@ -29,7 +29,7 @@
extra_textarea_class:'auto-resize'
}) }}
<div class="row"><div class="columns">
<button name="operation" value="{{ 'update' if ddoc else 'create' }}" type="submit" class="rounded primary button">
<button name="operation" value="{{ 'update' if ddoc else 'create' }}" data-default-submit type="submit" class="rounded primary button">
{{ _('Update') if ddoc else _('Create') }} (Ctrl+Enter)
</button>
{% if ddoc and (handler.user.hasPriv(PRIV.PRIV_EDIT_SYSTEM) or handler.user.own(ddoc)) %}