mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 17:46:28 +08:00
ui: fix discussion_edit ctrl+enter hotkey
This commit is contained in:
1 parent
e365c3ccd6
commit
013ae1172b
3 files changed
+5
-3
No files matched your search
@@ -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)) %}
|
||||
|
||||
Reference in new issue
Block a user