0
Fork 0
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:
Rish 2019-11-06 14:37:42 +07:00
parent 15366dd8b2
commit 6b4c430985
2 changed files with 2 additions and 0 deletions

View file

@ -334,6 +334,7 @@
input=(action (mut emailSubjectScratch) value="target.value") input=(action (mut emailSubjectScratch) value="target.value")
focus-out=(action "setEmailSubject" emailSubjectScratch) focus-out=(action "setEmailSubject" emailSubjectScratch)
stopEnterKeyDownPropagation=true stopEnterKeyDownPropagation=true
disabled=deliveredAction
data-test-field="email-subject"}} data-test-field="email-subject"}}
{{gh-error-message errors=post.errors property="emailSubject" data-test-error="email-subject"}} {{gh-error-message errors=post.errors property="emailSubject" data-test-error="email-subject"}}
{{/gh-form-group}} {{/gh-form-group}}

View file

@ -133,6 +133,7 @@
deletePost=(action "toggleDeletePostModal") deletePost=(action "toggleDeletePostModal")
updateSlug=updateSlug updateSlug=updateSlug
savePost=savePost savePost=savePost
deliveredAction=this.deliveredAction
}} }}
{{/liquid-wormhole}} {{/liquid-wormhole}}
{{/if}} {{/if}}