mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 22:43:30 +03:00
Added "Enter" key handling to refactored delete-post modal
refs https://github.com/TryGhost/Team/issues/559 - there's no base modal any more so each modal is in control of it's own keyboard handling
This commit is contained in:
parent
df56a25d6d
commit
4e56d98bf7
@ -1,4 +1,4 @@
|
||||
<div class="modal-content">
|
||||
<div class="modal-content" {{on-key "Enter" (perform this.deletePostTask)}}>
|
||||
<header class="modal-header">
|
||||
<h1>Are you sure you want to delete this {{@data.post.displayName}}?</h1>
|
||||
</header>
|
||||
|
Loading…
Reference in New Issue
Block a user