Remove a console.log

This commit is contained in:
Neil Lalonde 2013-06-12 10:17:47 -04:00
parent 5d7f22ed63
commit 1a1115321d
1 changed files with 0 additions and 1 deletions

View File

@ -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');