From fb85d3c8a6c308fba8270cf38b841d87f3622373 Mon Sep 17 00:00:00 2001 From: Robin Ward <robin.ward@gmail.com> Date: Tue, 10 Mar 2015 16:42:09 -0400 Subject: [PATCH] FIX: Edit category button was broken --- app/assets/javascripts/discourse/routes/application.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/routes/application.js.es6 b/app/assets/javascripts/discourse/routes/application.js.es6 index bfd914197..681a097cb 100644 --- a/app/assets/javascripts/discourse/routes/application.js.es6 +++ b/app/assets/javascripts/discourse/routes/application.js.es6 @@ -122,7 +122,7 @@ const ApplicationRoute = Discourse.Route.extend({ const self = this; Discourse.Category.reloadById(category.get('id')).then(function (c) { self.site.updateCategory(c); - showModal(self, 'editCategory', c); + showModal('editCategory', c); self.controllerFor('editCategory').set('selectedTab', 'general'); }); },