Add focus class to new selected label after removing focus class from previously selected label

pull/5406/head
Piotr Bogun 2026-01-02 15:19:04 -06:00
parent 6a75a084ad
commit 957f701035
1 changed files with 4 additions and 0 deletions

View File

@ -879,6 +879,10 @@
}
that._topList.find(".focus").removeClass("focus");
if (item.treeList.label) {
item.treeList.label.addClass("focus");
}
if (triggerEvent !== false) {
this._trigger("select",null,item)