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
b08b35ca
Commit
b08b35ca
authored
Feb 18, 2015
by
Masaru Abe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
テスト対応
parent
d9a5f33d
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
60 additions
and
17 deletions
+60
-17
abvw/js/bookmark.js
+14
-3
abvw/js/contentsearch.js
+14
-3
abvw/js/contentview.js
+6
-5
abvw/js/history.js
+13
-3
abvw/js/home.js
+13
-3
No files found.
abvw/js/bookmark.js
View file @
b08b35ca
...
...
@@ -1067,10 +1067,21 @@ Setting dialog [ end ]
BOOKMARK
.
showContentView
=
function
(){
var
y
=
document
.
documentElement
.
scrollTop
||
document
.
body
.
scrollTop
;
BOOKMARK
.
scrollTop
=
y
;
//TOPに戻す
document
.
documentElement
.
scrollTop
=
0
;
var
y
=
0
if
(
document
.
documentElement
.
scrollTop
){
y
=
document
.
documentElement
.
scrollTop
;
}
if
(
document
.
body
.
scrollTop
){
if
(
y
==
undefined
||
y
==
0
){
y
=
document
.
body
.
scrollTop
;
}
}
if
(
y
==
undefined
||
y
==
null
){
y
=
0
;
}
BOOKMARK
.
scrollTop
=
y
;
window
.
scrollTo
(
0
,
0
);
//試験
$
(
"#header-ws"
).
hide
();
...
...
abvw/js/contentsearch.js
View file @
b08b35ca
...
...
@@ -1417,10 +1417,21 @@ CONTENTSEARCH.showContentShareDlgFunction = function(e) {
CONTENTSEARCH
.
showContentView
=
function
(){
var
y
=
document
.
documentElement
.
scrollTop
||
document
.
body
.
scrollTop
;
CONTENTSEARCH
.
scrollTop
=
y
;
//TOPに戻す
document
.
documentElement
.
scrollTop
=
0
;
var
y
=
0
if
(
document
.
documentElement
.
scrollTop
){
y
=
document
.
documentElement
.
scrollTop
;
}
if
(
document
.
body
.
scrollTop
){
if
(
y
==
undefined
||
y
==
0
){
y
=
document
.
body
.
scrollTop
;
}
}
if
(
y
==
undefined
||
y
==
null
){
y
=
0
;
}
CONTENTSEARCH
.
scrollTop
=
y
;
window
.
scrollTo
(
0
,
0
);
//試験
$
(
"#header-ws"
).
hide
();
...
...
abvw/js/contentview.js
View file @
b08b35ca
...
...
@@ -5544,8 +5544,9 @@ CONTENTVIEW.screenBack = function(){
$
(
"#ws-body"
).
show
();
$
(
"#topcontrol"
).
show
();
document
.
title
=
I18N
.
i18nText
(
'dspHome'
)
+
' | '
+
I18N
.
i18nText
(
'sysAppTitle'
);
//console.log("back HOME.scrollTop:" + HOME.scrollTop);
//元の位置に戻す
document
.
documentElement
.
scrollTop
=
HOME
.
scrollTop
;
window
.
scrollTo
(
0
,
HOME
.
scrollTop
)
;
}
else
if
(
$
(
'#bookmark'
).
length
){
BOOKMARK
.
cssInit
();
...
...
@@ -5554,7 +5555,7 @@ CONTENTVIEW.screenBack = function(){
$
(
"#topcontrol"
).
show
();
document
.
title
=
I18N
.
i18nText
(
'dspShiori'
)
+
' | '
+
I18N
.
i18nText
(
'sysAppTitle'
);
//元の位置に戻す
document
.
documentElement
.
scrollTop
=
BOOKMARK
.
scrollTop
;
window
.
scrollTo
(
0
,
BOOKMARK
.
scrollTop
)
;
BOOKMARK
.
refreshView
();
}
else
if
(
$
(
'#history'
).
length
){
...
...
@@ -5565,7 +5566,7 @@ CONTENTVIEW.screenBack = function(){
$
(
"#topcontrol"
).
show
();
document
.
title
=
I18N
.
i18nText
(
'dspViewHistory'
)
+
' | '
+
I18N
.
i18nText
(
'sysAppTitle'
);
//元の位置に戻す
document
.
documentElement
.
scrollTop
=
HISTORY
.
scrollTop
;
window
.
scrollTo
(
0
,
HISTORY
.
scrollTop
)
;
}
else
if
(
$
(
'#contentsearch'
).
length
){
CONTENTSEARCH
.
cssInit
();
...
...
@@ -5574,8 +5575,8 @@ CONTENTVIEW.screenBack = function(){
$
(
"#topcontrol"
).
show
();
document
.
title
=
I18N
.
i18nText
(
'txtSearchResult'
)
+
' | '
+
I18N
.
i18nText
(
'sysAppTitle'
);
//元の位置に戻す
document
.
documentElement
.
scrollTop
=
CONTENTSEARCH
.
scrollTop
;
window
.
scrollTo
(
0
,
CONTENTSEARCH
.
scrollTop
)
;
}
//プッシュメッセージ再開
// check new push message
...
...
abvw/js/history.js
View file @
b08b35ca
...
...
@@ -1545,11 +1545,21 @@ HISTORY.showContentShareDlgFunction = function(e) {
HISTORY
.
showContentView
=
function
(){
var
y
=
document
.
documentElement
.
scrollTop
||
document
.
body
.
scrollTop
;
var
y
=
0
if
(
document
.
documentElement
.
scrollTop
){
y
=
document
.
documentElement
.
scrollTop
;
}
if
(
document
.
body
.
scrollTop
){
if
(
y
==
undefined
||
y
==
0
){
y
=
document
.
body
.
scrollTop
;
}
}
if
(
y
==
undefined
||
y
==
null
){
y
=
0
;
}
//console.log("scrollTop:" + y);
HISTORY
.
scrollTop
=
y
;
//TOPに戻す
document
.
documentElement
.
scrollTop
=
0
;
window
.
scrollTo
(
0
,
0
);
$
(
"#header-ws"
).
hide
();
$
(
"#ws-body"
).
hide
();
...
...
abvw/js/home.js
View file @
b08b35ca
...
...
@@ -2765,10 +2765,20 @@ HOME.cssInit = function(){
HOME
.
showContentView
=
function
(){
var
y
=
document
.
documentElement
.
scrollTop
||
document
.
body
.
scrollTop
;
var
y
=
0
if
(
document
.
documentElement
.
scrollTop
){
y
=
document
.
documentElement
.
scrollTop
;
}
if
(
document
.
body
.
scrollTop
){
if
(
y
==
undefined
||
y
==
0
){
y
=
document
.
body
.
scrollTop
;
}
}
if
(
y
==
undefined
||
y
==
null
){
y
=
0
;
}
HOME
.
scrollTop
=
y
;
//TOPに戻す
document
.
documentElement
.
scrollTop
=
0
;
window
.
scrollTo
(
0
,
0
);
//試験
$
(
"#header-ws"
).
hide
();
...
...
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