mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-29 13:52:10 +03:00
Fixed thumbnail override bug for audio cards
refs https://github.com/TryGhost/Team/issues/1230 - replacing an existing thumbnail in audio card was broken and prevented updating thumbnails for audio file
This commit is contained in:
parent
b3d2fb8b96
commit
a18b3ac369
@ -69,7 +69,12 @@
|
||||
{{/if}}
|
||||
|
||||
<div style="display:none">
|
||||
<GhFileInput @multiple={{false}} @action={{uploader.setFiles}} @accept={{this.audioMimeTypes}} @onInsert={{this.registerAudioFileInput}} />
|
||||
<GhFileInput
|
||||
@multiple={{false}}
|
||||
@action={{uploader.setFiles}}
|
||||
@accept={{this.audioMimeTypes}}
|
||||
@onInsert={{uploader.registerFileInput}}
|
||||
/>
|
||||
</div>
|
||||
</GhUploader>
|
||||
|
||||
@ -142,7 +147,12 @@
|
||||
{{/if}}
|
||||
</div>
|
||||
<div style="display:none">
|
||||
<GhFileInput @multiple={{false}} @action={{uploader.setFiles}} @accept={{this.imageMimeTypes}} @onInsert={{this.registerAudioThumbnailFileInput}} />
|
||||
<GhFileInput
|
||||
@multiple={{false}}
|
||||
@action={{uploader.setFiles}}
|
||||
@accept={{this.imageMimeTypes}}
|
||||
@onInsert={{uploader.registerFileInput}}
|
||||
/>
|
||||
</div>
|
||||
</GhUploader>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user