mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-27 10:42:45 +03:00
Merge pull request #5907 from lcamacho/bug-5800
Shows image on Tag settings
This commit is contained in:
commit
aa774c02ab
@ -206,6 +206,7 @@ UploadUi = function ($dropzone, settings) {
|
||||
var self = this;
|
||||
|
||||
// This is the start point if an image already exists
|
||||
this.removeExtras();
|
||||
$dropzone.removeClass('image-uploader image-uploader-url').addClass('pre-image-uploader');
|
||||
$dropzone.find('div.description').hide();
|
||||
$dropzone.find('img.js-upload-target').show();
|
||||
|
@ -74,7 +74,7 @@ export default Ember.Component.extend({
|
||||
self.sendAction('canceled');
|
||||
});
|
||||
|
||||
this.sendAction('initUploader', this.get('uploaderReference'));
|
||||
this.sendAction('initUploader', ref);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user