Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
check
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abook_web
check
Commits
19b35aee
Commit
19b35aee
authored
Jun 30, 2015
by
Masaru Abe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#16768 グループ/ジャンルツリー選択で件数が0件なら選択出来なくする
parent
dd73f008
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
abvw/common/js/jquery.treeview.js
+2
-2
No files found.
abvw/common/js/jquery.treeview.js
View file @
19b35aee
...
@@ -432,11 +432,11 @@ function AddItem(targetTreeView, sourceTreeNodeItem, targetTreeNode, callbackFun
...
@@ -432,11 +432,11 @@ function AddItem(targetTreeView, sourceTreeNodeItem, targetTreeNode, callbackFun
}
}
}
}
else
{
// Node of root but not be "all node"
else
{
// Node of root but not be "all node"
if
(
targetTreeView
.
IsShowTotal
==
true
&&
sourceTreeNodeItem
.
Total
Count
>
0
)
{
if
(
targetTreeView
.
IsShowTotal
==
true
&&
sourceTreeNodeItem
.
Content
Count
>
0
)
{
branches
=
$
(
"<li><"
+
targetTreeView
.
CategoryTagName
+
" style='padding-left: 5px;' class='file'"
+
scriptCallback
+
">"
+
sourceTreeNodeItem
.
Text
+
"</"
+
targetTreeView
.
CategoryTagName
+
"> ("
+
sourceTreeNodeItem
.
ContentCount
+
")</li>"
).
appendTo
(
"#"
+
targetTreeView
.
Id
);
branches
=
$
(
"<li><"
+
targetTreeView
.
CategoryTagName
+
" style='padding-left: 5px;' class='file'"
+
scriptCallback
+
">"
+
sourceTreeNodeItem
.
Text
+
"</"
+
targetTreeView
.
CategoryTagName
+
"> ("
+
sourceTreeNodeItem
.
ContentCount
+
")</li>"
).
appendTo
(
"#"
+
targetTreeView
.
Id
);
}
}
else
{
else
{
if
(
sourceTreeNodeItem
.
Total
Count
==
0
){
if
(
sourceTreeNodeItem
.
Content
Count
==
0
){
if
(
callbackFunction
!=
undefined
&&
callbackFunction
!=
null
)
{
if
(
callbackFunction
!=
undefined
&&
callbackFunction
!=
null
)
{
scriptCallback
=
' id="'
+
sourceTreeNodeItem
.
Id
+
'"'
;
scriptCallback
=
' id="'
+
sourceTreeNodeItem
.
Id
+
'"'
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment