From ceb4de653db80d4be7ba47e0ea297db91e2266f9 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Mon, 6 Jul 2015 10:36:20 -0400 Subject: [PATCH] fixed #3295 --- public/src/admin/manage/category.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/src/admin/manage/category.js b/public/src/admin/manage/category.js index ac4b6a50cc..bdd219d80e 100644 --- a/public/src/admin/manage/category.js +++ b/public/src/admin/manage/category.js @@ -70,9 +70,9 @@ define('admin/manage/category', [ $this.addClass('hide'); target.removeClass('hide').on('blur', function() { - $this.removeClass('hide').children('span').html(this.value); + $this.removeClass('hide').children('span').text(this.value).html(); $(this).addClass('hide'); - }).val($this.children('span').html()); + }).val($this.children('span').html().text()); target.focus(); });