We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2ada15f + e97d90c commit b0a971cCopy full SHA for b0a971c
app/code/Magento/Catalog/view/adminhtml/web/js/category-tree.js
@@ -5,10 +5,9 @@
5
6
define([
7
'jquery',
8
- 'mageUtils',
9
'jquery/ui',
10
'jquery/jstree/jquery.jstree'
11
-], function ($, utils) {
+], function ($) {
12
'use strict';
13
14
$.widget('mage.categoryTree', {
@@ -87,7 +86,7 @@ define([
87
86
// jscs:disable requireCamelCaseOrUpperCaseIdentifiers
88
result = {
89
id: node.id,
90
- text: utils.unescape(node.name) + ' (' + node.product_count + ')',
+ text: node.name + ' (' + node.product_count + ')',
91
li_attr: {
92
class: node.cls + (!!node.disabled ? ' disabled' : '') //eslint-disable-line no-extra-boolean-cast
93
},
0 commit comments