0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -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) { if (image) {
uploader[0].uploaderUi.initWithImage(); uploader[0].uploaderUi.initWithImage();
} else { } else {
uploader[0].uploaderUi.initWithDropzone(); uploader[0].uploaderUi.reset();
} }
} }
}) })