Shows image on Tag settings

closes #5800
This commit is contained in:
Leonard Camacho 2015-10-08 14:27:41 -04:30
parent ca46d92086
commit 04d84d0d53
2 changed files with 2 additions and 1 deletions

View File

@ -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();

View File

@ -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);
} }
} }
}); });