0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Reset upload component on tag switch

Closes #4755
This commit is contained in:
Jason Williams 2015-01-05 15:49:13 +00:00
parent a7b405924a
commit ce11c728c6

View file

@ -15,7 +15,7 @@ var TagsSettingsMenuView = Ember.View.extend({
if (image) {
uploader[0].uploaderUi.initWithImage();
} else {
uploader[0].uploaderUi.initWithDropzone();
uploader[0].uploaderUi.reset();
}
}
})