Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
design
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
abookCheck
design
Commits
9b3a8d07
Commit
9b3a8d07
authored
Oct 07, 2021
by
Kim Eunchul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
問題課題表#116カテゴリー整列をCMSと同じく変更対応
parent
4f133c45
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
+5
-1
app/script/check.js
+5
-1
No files found.
app/script/check.js
View file @
9b3a8d07
...
@@ -2810,7 +2810,11 @@ CHK.createCategory = function(operationGroupMasterList) {
...
@@ -2810,7 +2810,11 @@ CHK.createCategory = function(operationGroupMasterList) {
}
}
//サイドメニューカテゴリー構造作成
//サイドメニューカテゴリー構造作成
operationGroupMasterList
.
sort
((
a
,
b
)
=>
(
a
.
operationGroupMasterId
>
b
.
operationGroupMasterId
)
?
1
:
-
1
);
operationGroupMasterList
.
sort
(
function
(
a
,
b
)
{
if
(
a
.
operationGroupMasterLevel
<
b
.
operationGroupMasterLevel
)
return
-
1
;
if
(
a
.
operationGroupMasterLevel
>
b
.
operationGroupMasterLevel
)
return
1
;
return
1
;
});
var
noCategory
=
$
(
"<dl id='groupMasterId_0' class='group-category-list'><dt><a onclick='CHK.changeOperationGroupMaster(0);'>全て</a></dt></dl>"
);
var
noCategory
=
$
(
"<dl id='groupMasterId_0' class='group-category-list'><dt><a onclick='CHK.changeOperationGroupMaster(0);'>全て</a></dt></dl>"
);
$
(
'#category-menu'
).
append
(
noCategory
);
$
(
'#category-menu'
).
append
(
noCategory
);
//TODO operationGroupMasterId順番と深さの仕様確認要
//TODO operationGroupMasterId順番と深さの仕様確認要
...
...
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