Remove a console.log
This commit is contained in:
parent
5d7f22ed63
commit
1a1115321d
|
@ -52,7 +52,6 @@ Discourse.ApplicationRoute = Em.Route.extend({
|
||||||
router.controllerFor('editCategory').set('selectedTab', 'general');
|
router.controllerFor('editCategory').set('selectedTab', 'general');
|
||||||
} else {
|
} else {
|
||||||
Discourse.Category.findBySlugOrId(category.get('slug') || category.get('id')).then(function (c) {
|
Discourse.Category.findBySlugOrId(category.get('slug') || category.get('id')).then(function (c) {
|
||||||
console.log('ok show it now please');
|
|
||||||
Discourse.Site.instance().updateCategory(c);
|
Discourse.Site.instance().updateCategory(c);
|
||||||
Discourse.Route.showModal(router, 'editCategory', c);
|
Discourse.Route.showModal(router, 'editCategory', c);
|
||||||
router.controllerFor('editCategory').set('selectedTab', 'general');
|
router.controllerFor('editCategory').set('selectedTab', 'general');
|
||||||
|
|
Loading…
Reference in New Issue