From 3bf6625aa4227fc485eb5689aabfa616d25310ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Hanol?= Date: Thu, 14 Mar 2013 22:25:55 +0100 Subject: [PATCH] displays a message when a failure happen while creating a new category --- .../discourse/templates/modal/edit_category.js.handlebars | 8 ++++---- .../discourse/views/modal/edit_category_view.js | 5 +++++ app/models/category.rb | 4 ++-- config/locales/client.en.yml | 1 + config/locales/client.fr.yml | 1 + 5 files changed, 13 insertions(+), 6 deletions(-) diff --git a/app/assets/javascripts/discourse/templates/modal/edit_category.js.handlebars b/app/assets/javascripts/discourse/templates/modal/edit_category.js.handlebars index 7c87ec498ac..27d581469ef 100644 --- a/app/assets/javascripts/discourse/templates/modal/edit_category.js.handlebars +++ b/app/assets/javascripts/discourse/templates/modal/edit_category.js.handlebars @@ -1,7 +1,7 @@ -