v1.18.x
Barış Soner Uşaklı 7 years ago
parent 29be18ae5b
commit a9f6726b3d

@ -67,7 +67,8 @@ define('admin/general/navigation', ['translator', 'iconSelect', 'benchpress', 'j
data.enabled = false;
data.index = (parseInt($('#enabled').children().last().attr('data-index'), 10) || 0) + 1;
data.title = translator.escape(data.title);
data.text = translator.escape(data.text);
Benchpress.parse('admin/general/navigation', 'navigation', { navigation: [data] }, function (li) {
translator.translate(li, function (li) {
li = $(translator.unescape(li));

Loading…
Cancel
Save