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
4572291a
Commit
4572291a
authored
May 13, 2016
by
agentec
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#19124 コンテンツ閲覧のインデックスが効かない問題対応
parent
e9330aa6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
abvw/common/js/jquery.treeview.js
+8
-7
No files found.
abvw/common/js/jquery.treeview.js
View file @
4572291a
...
@@ -293,10 +293,6 @@ function TreeNode() {
...
@@ -293,10 +293,6 @@ function TreeNode() {
*/
*/
};
};
// Add category node
// Add category node
function
AddCategory
(
targetTreeView
,
sourceTreeNode
,
targetTreeNode
,
callbackFunction
)
{
function
AddCategory
(
targetTreeView
,
sourceTreeNode
,
targetTreeNode
,
callbackFunction
)
{
var
branches
;
var
branches
;
...
@@ -408,7 +404,8 @@ function AddItem(targetTreeView, sourceTreeNodeItem, targetTreeNode, callbackFun
...
@@ -408,7 +404,8 @@ function AddItem(targetTreeView, sourceTreeNodeItem, targetTreeNode, callbackFun
}
}
else
{
else
{
if
(
sourceTreeNodeItem
.
ContentCount
==
0
){
if
(
sourceTreeNodeItem
.
ContentCount
==
0
){
if
(
callbackFunction
!=
undefined
&&
callbackFunction
!=
null
)
{
//#19124 インデックスのページ移動が効かなくなった対応 targetTreeView.treeViewType
if
(
callbackFunction
!=
undefined
&&
callbackFunction
!=
null
&&
targetTreeView
.
treeViewType
==
"normal"
)
{
scriptCallback
=
' id="'
+
sourceTreeNodeItem
.
Id
+
'"'
;
scriptCallback
=
' id="'
+
sourceTreeNodeItem
.
Id
+
'"'
;
}
}
tmpClass
=
JQ_TREEVIEW
.
CLASS_FILE_ZERO
;
tmpClass
=
JQ_TREEVIEW
.
CLASS_FILE_ZERO
;
...
@@ -423,7 +420,8 @@ function AddItem(targetTreeView, sourceTreeNodeItem, targetTreeNode, callbackFun
...
@@ -423,7 +420,8 @@ function AddItem(targetTreeView, sourceTreeNodeItem, targetTreeNode, callbackFun
}
}
else
{
else
{
if
(
targetTreeView
.
TotalCount
==
0
){
if
(
targetTreeView
.
TotalCount
==
0
){
if
(
callbackFunction
!=
undefined
&&
callbackFunction
!=
null
)
{
//#19124 インデックスのページ移動が効かなくなった対応 targetTreeView.treeViewType
if
(
callbackFunction
!=
undefined
&&
callbackFunction
!=
null
&&
targetTreeView
.
treeViewType
==
"normal"
)
{
scriptCallback
=
' id="'
+
sourceTreeNodeItem
.
Id
+
'"'
;
scriptCallback
=
' id="'
+
sourceTreeNodeItem
.
Id
+
'"'
;
}
}
tmpClass
=
JQ_TREEVIEW
.
CLASS_FILE_ZERO
;
tmpClass
=
JQ_TREEVIEW
.
CLASS_FILE_ZERO
;
...
@@ -437,7 +435,8 @@ function AddItem(targetTreeView, sourceTreeNodeItem, targetTreeNode, callbackFun
...
@@ -437,7 +435,8 @@ function AddItem(targetTreeView, sourceTreeNodeItem, targetTreeNode, callbackFun
}
}
else
{
else
{
if
(
sourceTreeNodeItem
.
ContentCount
==
0
){
if
(
sourceTreeNodeItem
.
ContentCount
==
0
){
if
(
callbackFunction
!=
undefined
&&
callbackFunction
!=
null
)
{
//#19124 インデックスのページ移動が効かなくなった対応 targetTreeView.treeViewType
if
(
callbackFunction
!=
undefined
&&
callbackFunction
!=
null
&&
targetTreeView
.
treeViewType
==
"normal"
)
{
scriptCallback
=
' id="'
+
sourceTreeNodeItem
.
Id
+
'"'
;
scriptCallback
=
' id="'
+
sourceTreeNodeItem
.
Id
+
'"'
;
}
}
tmpClass
=
JQ_TREEVIEW
.
CLASS_FILE_ZERO
;
tmpClass
=
JQ_TREEVIEW
.
CLASS_FILE_ZERO
;
...
@@ -554,6 +553,7 @@ function TreeView() {
...
@@ -554,6 +553,7 @@ function TreeView() {
this
.
IsShowTotal
=
true
;
this
.
IsShowTotal
=
true
;
this
.
ExpandNodes
=
[];
this
.
ExpandNodes
=
[];
this
.
CategoryTagName
=
"span"
;
// Use to expand/ not expand when clicking in
this
.
CategoryTagName
=
"span"
;
// Use to expand/ not expand when clicking in
this
.
treeViewType
=
"normal"
;
//#19124 コンテンツ閲覧のインデックスでページ移動しなくなった対応のため
this
.
Show
=
function
(
containerId
,
nodes
,
callbackFunctionName
)
{
this
.
Show
=
function
(
containerId
,
nodes
,
callbackFunctionName
)
{
var
tree
=
this
;
var
tree
=
this
;
tree
.
Id
=
containerId
;
tree
.
Id
=
containerId
;
...
@@ -586,6 +586,7 @@ function TreeViewIndex() {
...
@@ -586,6 +586,7 @@ function TreeViewIndex() {
this
.
TotalCount
=
0
;
this
.
TotalCount
=
0
;
this
.
IsShowTotal
=
true
;
this
.
IsShowTotal
=
true
;
this
.
CategoryTagName
=
"span"
;
this
.
CategoryTagName
=
"span"
;
this
.
treeViewType
=
"index"
;
//#19124 コンテンツ閲覧のインデックスでページ移動しなくなった対応のため
this
.
Show
=
function
(
containerId
,
nodes
,
callbackFunctionName
)
{
this
.
Show
=
function
(
containerId
,
nodes
,
callbackFunctionName
)
{
var
tree
=
this
;
var
tree
=
this
;
tree
.
Id
=
containerId
;
tree
.
Id
=
containerId
;
...
...
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