FIX: Edit category button was broken

This commit is contained in:
Robin Ward 2015-03-10 16:42:09 -04:00
parent 354b9ccf3b
commit fb85d3c8a6

View file

@ -122,7 +122,7 @@ const ApplicationRoute = Discourse.Route.extend({
const self = this; const self = this;
Discourse.Category.reloadById(category.get('id')).then(function (c) { Discourse.Category.reloadById(category.get('id')).then(function (c) {
self.site.updateCategory(c); self.site.updateCategory(c);
showModal(self, 'editCategory', c); showModal('editCategory', c);
self.controllerFor('editCategory').set('selectedTab', 'general'); self.controllerFor('editCategory').set('selectedTab', 'general');
}); });
}, },