mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Disabled email subject based on delivered action
This commit is contained in:
parent
15366dd8b2
commit
6b4c430985
2 changed files with 2 additions and 0 deletions
|
@ -334,6 +334,7 @@
|
|||
input=(action (mut emailSubjectScratch) value="target.value")
|
||||
focus-out=(action "setEmailSubject" emailSubjectScratch)
|
||||
stopEnterKeyDownPropagation=true
|
||||
disabled=deliveredAction
|
||||
data-test-field="email-subject"}}
|
||||
{{gh-error-message errors=post.errors property="emailSubject" data-test-error="email-subject"}}
|
||||
{{/gh-form-group}}
|
||||
|
|
|
@ -133,6 +133,7 @@
|
|||
deletePost=(action "toggleDeletePostModal")
|
||||
updateSlug=updateSlug
|
||||
savePost=savePost
|
||||
deliveredAction=this.deliveredAction
|
||||
}}
|
||||
{{/liquid-wormhole}}
|
||||
{{/if}}
|
||||
|
|
Loading…
Add table
Reference in a new issue