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

@@ -8,7 +8,7 @@
{% include "partials/discussion_edit_form.html" %}
<div class="row"><div class="columns">
<input type="hidden" name="csrfToken" value="{{ handler.csrfToken }}">
<button name="operation" value="update" type="submit" class="rounded primary button">
<button name="operation" value="update" data-default-submit type="submit" class="rounded primary button">
{{ _('Update') }} (Ctrl+Enter)
</button>
{% if handler.user.own(ddoc) or handler.user.hasPerm(perm.PERM_DELETE_DISCUSSION) %}