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

Merge pull request #4762 from jaswilli/issue-4755

Reset upload component on tag switch
This commit is contained in:
Hannah Wolfe 2015-01-06 19:29:13 +00:00
commit fcdb471fa1

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