修复BUG:多层菜单时,编辑父菜单,点击排序弹窗后,所有子菜单被设置active样式
This commit is contained in:
parent
7bd1db3a04
commit
2389711823
|
@ -120,7 +120,7 @@
|
|||
if (menuName == "") menuName = "新建菜单-未命名";
|
||||
$nestMenu.find('ol.dd-list:first').append($.format('<li class="dd-item dd3-item" data-id="0" data-category="{1}"><div class="dd-handle dd3-handle"></div><div class="dd3-content"><label><span>{0}</span></label></div></li>', menuName, menuCate));
|
||||
}
|
||||
$nestMenu.find('li[data-id="' + did + '"] span').addClass('active');
|
||||
$nestMenu.find('li[data-id="' + did + '"] > div.dd3-content span').addClass('active');
|
||||
$dialogMenu.show().adjustDialog();
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue