Commit 19b35aee by Masaru Abe

#16768 グループ/ジャンルツリー選択で件数が0件なら選択出来なくする

parent dd73f008
......@@ -432,11 +432,11 @@ function AddItem(targetTreeView, sourceTreeNodeItem, targetTreeNode, callbackFun
}
}
else { // Node of root but not be "all node"
if (targetTreeView.IsShowTotal == true && sourceTreeNodeItem.TotalCount > 0) {
if (targetTreeView.IsShowTotal == true && sourceTreeNodeItem.ContentCount > 0) {
branches = $("<li><" + targetTreeView.CategoryTagName + " style='padding-left: 5px;' class='file'" + scriptCallback + ">" + sourceTreeNodeItem.Text + "</" + targetTreeView.CategoryTagName + ">&nbsp;(" + sourceTreeNodeItem.ContentCount + ")</li>").appendTo("#" + targetTreeView.Id);
}
else {
if(sourceTreeNodeItem.TotalCount == 0){
if(sourceTreeNodeItem.ContentCount == 0){
if (callbackFunction != undefined && callbackFunction != null) {
scriptCallback = ' id="' + sourceTreeNodeItem.Id + '"';
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment