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
4fa4cc9c
Commit
4fa4cc9c
authored
Sep 04, 2022
by
hoangson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix sessionStorage activeTab for ios
parent
e823297c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
12 deletions
+18
-12
app/index.html
+18
-12
No files found.
app/index.html
View file @
4fa4cc9c
...
...
@@ -212,19 +212,25 @@
<script>
$
(
document
).
ready
(
function
()
{
$
(
"#footer"
).
load
(
"main-footer.html"
,
function
()
{
if
(
!
sessionStorage
.
activeTab
)
{
CHK
.
loadDashboardSetting
(
function
()
{
if
(
CHK
.
dashboardSetting
.
dashboardHome
)
{
CHK_Footer
.
goDashboard
();
}
else
{
CHK_Footer
.
goOperationList
();
}
});
}
else
if
(
sessionStorage
.
activeTab
===
'dashboard'
)
{
CHK_Footer
.
goDashboard
();
}
else
if
(
sessionStorage
.
activeTab
===
'operationList'
)
{
CHK_Footer
.
goOperationList
();
let
activeTab
;
if
(
typeof
sessionStorage
!=
'undefined'
&&
sessionStorage
.
activeTab
!=
'undefined'
)
{
activeTab
=
sessionStorage
.
activeTab
;
}
if
(
typeof
activeTab
!=
'undefined'
)
{
if
(
activeTab
==
'dashboard'
)
{
CHK_Footer
.
goDashboard
();
}
else
{
CHK_Footer
.
goOperationList
();
}
return
;
}
CHK
.
loadDashboardSetting
(
function
()
{
if
(
CHK
.
dashboardSetting
.
dashboardHome
)
{
CHK_Footer
.
goDashboard
();
}
else
{
CHK_Footer
.
goOperationList
();
}
});
});
});
</script>
...
...
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