From ce11c728c6aba22c377c9abd563aebc03df71964 Mon Sep 17 00:00:00 2001 From: Jason Williams Date: Mon, 5 Jan 2015 15:49:13 +0000 Subject: [PATCH] Reset upload component on tag switch Closes #4755 --- core/client/views/settings/tags/settings-menu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/client/views/settings/tags/settings-menu.js b/core/client/views/settings/tags/settings-menu.js index 5d2906be9a..630ca738ba 100644 --- a/core/client/views/settings/tags/settings-menu.js +++ b/core/client/views/settings/tags/settings-menu.js @@ -15,7 +15,7 @@ var TagsSettingsMenuView = Ember.View.extend({ if (image) { uploader[0].uploaderUi.initWithImage(); } else { - uploader[0].uploaderUi.initWithDropzone(); + uploader[0].uploaderUi.reset(); } } })