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
98ffefba
Commit
98ffefba
authored
2 years ago
by
NGUYEN HOANG SON
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix operation category multi level
parent
84c4489d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
abweb/js/operationList/operationList.js
+2
-1
No files found.
abweb/js/operationList/operationList.js
View file @
98ffefba
...
@@ -310,7 +310,7 @@ OL.createCategoryList = function () {
...
@@ -310,7 +310,7 @@ OL.createCategoryList = function () {
allChecked
=
' checked'
;
allChecked
=
' checked'
;
}
}
const
allCategory
=
$
(
const
allCategory
=
$
(
'<ul><li><label><input type="radio" name="category" value="0"'
+
allChecked
+
'>
<span class="lang" lang="categoryAll"
>'
+
I18N
.
i18nText
(
'categoryAll'
)
+
'</span></label></li></ul>'
,
'<ul><li><label><input type="radio" name="category" value="0"'
+
allChecked
+
'>
<span
>'
+
I18N
.
i18nText
(
'categoryAll'
)
+
'</span></label></li></ul>'
,
);
);
categoryListElement
.
append
(
allCategory
);
categoryListElement
.
append
(
allCategory
);
//create category(operationGroupMaster) structure
//create category(operationGroupMaster) structure
...
@@ -324,6 +324,7 @@ OL.createCategoryList = function () {
...
@@ -324,6 +324,7 @@ OL.createCategoryList = function () {
}
}
let
groupSpan
=
$
(
'<span>'
+
item
.
operationGroupMasterName
+
'</span>'
);
let
groupSpan
=
$
(
'<span>'
+
item
.
operationGroupMasterName
+
'</span>'
);
inputLabel
.
append
(
inputRadio
);
inputLabel
.
append
(
inputRadio
);
inputLabel
.
append
(
' '
);
inputLabel
.
append
(
groupSpan
);
inputLabel
.
append
(
groupSpan
);
const
isParent
=
OL
.
operationGroupMaster
.
find
(
function
(
child
)
{
const
isParent
=
OL
.
operationGroupMaster
.
find
(
function
(
child
)
{
return
item
.
operationGroupMasterId
==
child
.
parentOperationGroupMasterId
;
return
item
.
operationGroupMasterId
==
child
.
parentOperationGroupMasterId
;
...
...
This diff is collapsed.
Click to expand it.
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