v1.18.x
Barış Soner Uşaklı 4 years ago
parent d00268c9b8
commit cef58d1d6f

@ -268,7 +268,7 @@ define('admin/manage/category', [
api.put('/categories/' + ajaxify.data.category.cid, {
parentCid: parentCid,
}).then(() => {
api.get(`/category/${parentCid}`).then(function (parent) {
api.get(`/categories/${parentCid}`, {}).then(function (parent) {
if (parent && parent.icon && parent.name) {
var buttonHtml = '<i class="fa ' + parent.icon + '"></i> ' + parent.name;
$('button[data-action="changeParent"]').html(buttonHtml).parent().removeClass('hide');

Loading…
Cancel
Save