mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-17 23:44:39 -05:00
parent
eed6879845
commit
35c533effc
2 changed files with 2 additions and 1 deletions
|
@ -206,6 +206,7 @@ UploadUi = function ($dropzone, settings) {
|
||||||
var self = this;
|
var self = this;
|
||||||
|
|
||||||
// This is the start point if an image already exists
|
// This is the start point if an image already exists
|
||||||
|
this.removeExtras();
|
||||||
$dropzone.removeClass('image-uploader image-uploader-url').addClass('pre-image-uploader');
|
$dropzone.removeClass('image-uploader image-uploader-url').addClass('pre-image-uploader');
|
||||||
$dropzone.find('div.description').hide();
|
$dropzone.find('div.description').hide();
|
||||||
$dropzone.find('img.js-upload-target').show();
|
$dropzone.find('img.js-upload-target').show();
|
||||||
|
|
|
@ -74,7 +74,7 @@ export default Ember.Component.extend({
|
||||||
self.sendAction('canceled');
|
self.sendAction('canceled');
|
||||||
});
|
});
|
||||||
|
|
||||||
this.sendAction('initUploader', this.get('uploaderReference'));
|
this.sendAction('initUploader', ref);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue