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
d9a5f33d
Commit
d9a5f33d
authored
Feb 18, 2015
by
Masaru Abe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
テスト対応
parent
f914d975
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
53 additions
and
6 deletions
+53
-6
abvw/js/bookmark.js
+12
-4
abvw/js/contentsearch.js
+8
-0
abvw/js/contentview.js
+12
-1
abvw/js/contentview_Memo.js
+3
-0
abvw/js/detail.js
+2
-0
abvw/js/history.js
+8
-1
abvw/js/home.js
+8
-0
No files found.
abvw/js/bookmark.js
View file @
d9a5f33d
...
@@ -13,8 +13,11 @@ BOOKMARK.bookmark_errorContent = [];
...
@@ -13,8 +13,11 @@ BOOKMARK.bookmark_errorContent = [];
// Contain contents
// Contain contents
BOOKMARK
.
collection_contents
=
[];
BOOKMARK
.
collection_contents
=
[];
//ソート条件復帰
BOOKMARK
.
searchDivision
=
1
;
BOOKMARK
.
searchDivision
=
1
;
BOOKMARK
.
sortType
=
2
;
BOOKMARK
.
sortType
=
2
;
//スクロール復帰
BOOKMARK
.
scrollTop
=
0
;
// Init function of page
// Init function of page
$
(
document
).
ready
(
function
()
{
$
(
document
).
ready
(
function
()
{
...
@@ -711,17 +714,17 @@ BOOKMARK.insertRow = function(contentid, pageThumbnail, pageTitle, pageText, pag
...
@@ -711,17 +714,17 @@ BOOKMARK.insertRow = function(contentid, pageThumbnail, pageTitle, pageText, pag
imgTemp
.
src
=
pageThumbnail
;
imgTemp
.
src
=
pageThumbnail
;
if
(
hasMemo
)
{
if
(
hasMemo
)
{
newRow
+=
'<li><a href="
#
" style="cursor: default;">'
+
imgMemo
+
'</a></li>'
;
newRow
+=
'<li><a href="
javascript:void(0);
" style="cursor: default;">'
+
imgMemo
+
'</a></li>'
;
}
}
else
{
else
{
newRow
+=
'<li><a href="
#
" style="cursor: default;">'
+
imgMemoHide
+
'</a></li>'
;
newRow
+=
'<li><a href="
javascript:void(0);
" style="cursor: default;">'
+
imgMemoHide
+
'</a></li>'
;
}
}
if
(
hasMarking
)
{
if
(
hasMarking
)
{
newRow
+=
'<li><a href="
#
" style="cursor: default;">'
+
imgMarking
+
'</a></li>'
;
newRow
+=
'<li><a href="
javascript:void(0);
" style="cursor: default;">'
+
imgMarking
+
'</a></li>'
;
}
}
else
{
else
{
newRow
+=
'<li><a href="
#
" style="cursor: default;">'
+
imgMarkingHide
+
'</a></li>'
;
newRow
+=
'<li><a href="
javascript:void(0);
" style="cursor: default;">'
+
imgMarkingHide
+
'</a></li>'
;
}
}
...
@@ -1064,6 +1067,11 @@ Setting dialog [ end ]
...
@@ -1064,6 +1067,11 @@ Setting dialog [ end ]
BOOKMARK
.
showContentView
=
function
(){
BOOKMARK
.
showContentView
=
function
(){
var
y
=
document
.
documentElement
.
scrollTop
||
document
.
body
.
scrollTop
;
BOOKMARK
.
scrollTop
=
y
;
//TOPに戻す
document
.
documentElement
.
scrollTop
=
0
;
//試験
//試験
$
(
"#header-ws"
).
hide
();
$
(
"#header-ws"
).
hide
();
$
(
"#ws-body"
).
hide
();
$
(
"#ws-body"
).
hide
();
...
...
abvw/js/contentsearch.js
View file @
d9a5f33d
...
@@ -22,6 +22,9 @@ CONTENTSEARCH.chkSearchTextEmpty = false;
...
@@ -22,6 +22,9 @@ CONTENTSEARCH.chkSearchTextEmpty = false;
CONTENTSEARCH
.
noRecordFlg
=
false
;
CONTENTSEARCH
.
noRecordFlg
=
false
;
CONTENTSEARCH
.
home_isMove
=
false
;
CONTENTSEARCH
.
home_isMove
=
false
;
//スクロール復帰
CONTENTSEARCH
.
scrollTop
=
0
;
$
(
document
).
ready
(
function
(){
$
(
document
).
ready
(
function
(){
if
(
!
AVWEB
.
avwCheckLogin
(
COMMON
.
ScreenIds
.
Login
)){
if
(
!
AVWEB
.
avwCheckLogin
(
COMMON
.
ScreenIds
.
Login
)){
...
@@ -1414,6 +1417,11 @@ CONTENTSEARCH.showContentShareDlgFunction = function(e) {
...
@@ -1414,6 +1417,11 @@ CONTENTSEARCH.showContentShareDlgFunction = function(e) {
CONTENTSEARCH
.
showContentView
=
function
(){
CONTENTSEARCH
.
showContentView
=
function
(){
var
y
=
document
.
documentElement
.
scrollTop
||
document
.
body
.
scrollTop
;
CONTENTSEARCH
.
scrollTop
=
y
;
//TOPに戻す
document
.
documentElement
.
scrollTop
=
0
;
//試験
//試験
$
(
"#header-ws"
).
hide
();
$
(
"#header-ws"
).
hide
();
$
(
"#ws-body"
).
hide
();
$
(
"#ws-body"
).
hide
();
...
...
abvw/js/contentview.js
View file @
d9a5f33d
...
@@ -5544,27 +5544,38 @@ CONTENTVIEW.screenBack = function(){
...
@@ -5544,27 +5544,38 @@ CONTENTVIEW.screenBack = function(){
$
(
"#ws-body"
).
show
();
$
(
"#ws-body"
).
show
();
$
(
"#topcontrol"
).
show
();
$
(
"#topcontrol"
).
show
();
document
.
title
=
I18N
.
i18nText
(
'dspHome'
)
+
' | '
+
I18N
.
i18nText
(
'sysAppTitle'
);
document
.
title
=
I18N
.
i18nText
(
'dspHome'
)
+
' | '
+
I18N
.
i18nText
(
'sysAppTitle'
);
//元の位置に戻す
document
.
documentElement
.
scrollTop
=
HOME
.
scrollTop
;
}
else
if
(
$
(
'#bookmark'
).
length
){
}
else
if
(
$
(
'#bookmark'
).
length
){
BOOKMARK
.
cssInit
();
BOOKMARK
.
cssInit
();
$
(
"#header-ws"
).
show
();
$
(
"#header-ws"
).
show
();
$
(
"#ws-body"
).
show
();
$
(
"#ws-body"
).
show
();
$
(
"#topcontrol"
).
show
();
$
(
"#topcontrol"
).
show
();
document
.
title
=
I18N
.
i18nText
(
'dspShiori'
)
+
' | '
+
I18N
.
i18nText
(
'sysAppTitle'
);
document
.
title
=
I18N
.
i18nText
(
'dspShiori'
)
+
' | '
+
I18N
.
i18nText
(
'sysAppTitle'
);
//元の位置に戻す
document
.
documentElement
.
scrollTop
=
BOOKMARK
.
scrollTop
;
BOOKMARK
.
refreshView
();
BOOKMARK
.
refreshView
();
}
else
if
(
$
(
'#history'
).
length
){
}
else
if
(
$
(
'#history'
).
length
){
HISTORY
.
cssInit
();
HISTORY
.
cssInit
();
$
(
"#header-ws"
).
show
();
$
(
"#header-ws"
).
show
();
$
(
"#ws-body"
).
show
();
$
(
"#ws-body"
).
show
();
$
(
"#topcontrol"
).
show
();
$
(
"#topcontrol"
).
show
();
document
.
title
=
I18N
.
i18nText
(
'dspViewHistory'
)
+
' | '
+
I18N
.
i18nText
(
'sysAppTitle'
);
document
.
title
=
I18N
.
i18nText
(
'dspViewHistory'
)
+
' | '
+
I18N
.
i18nText
(
'sysAppTitle'
);
//元の位置に戻す
document
.
documentElement
.
scrollTop
=
HISTORY
.
scrollTop
;
}
else
if
(
$
(
'#contentsearch'
).
length
){
}
else
if
(
$
(
'#contentsearch'
).
length
){
CONTENTSEARCH
.
cssInit
();
CONTENTSEARCH
.
cssInit
();
$
(
"#header-ws"
).
show
();
$
(
"#header-ws"
).
show
();
$
(
"#ws-body"
).
show
();
$
(
"#ws-body"
).
show
();
$
(
"#topcontrol"
).
show
();
$
(
"#topcontrol"
).
show
();
document
.
title
=
I18N
.
i18nText
(
'txtSearchResult'
)
+
' | '
+
I18N
.
i18nText
(
'sysAppTitle'
);
document
.
title
=
I18N
.
i18nText
(
'txtSearchResult'
)
+
' | '
+
I18N
.
i18nText
(
'sysAppTitle'
);
//元の位置に戻す
document
.
documentElement
.
scrollTop
=
CONTENTSEARCH
.
scrollTop
;
}
}
//プッシュメッセージ再開
//プッシュメッセージ再開
// check new push message
// check new push message
...
...
abvw/js/contentview_Memo.js
View file @
d9a5f33d
...
@@ -144,6 +144,9 @@ CONTENTVIEW_MEMO.MemoCancelFunction = function(){
...
@@ -144,6 +144,9 @@ CONTENTVIEW_MEMO.MemoCancelFunction = function(){
};
};
CONTENTVIEW_MEMO
.
AddMemo
=
function
(
contentId
,
pageNo
,
targetId
,
posX
,
posY
,
callback
)
{
CONTENTVIEW_MEMO
.
AddMemo
=
function
(
contentId
,
pageNo
,
targetId
,
posX
,
posY
,
callback
)
{
//console.log("CONTENTVIEW_MEMO.AddMemo:" + posX + "," + posY);
CONTENTVIEW_MEMO
.
conid
=
contentId
;
CONTENTVIEW_MEMO
.
conid
=
contentId
;
CONTENTVIEW_MEMO
.
pageid
=
pageNo
;
CONTENTVIEW_MEMO
.
pageid
=
pageNo
;
CONTENTVIEW_MEMO
.
targetDiv
=
targetId
;
CONTENTVIEW_MEMO
.
targetDiv
=
targetId
;
...
...
abvw/js/detail.js
View file @
d9a5f33d
...
@@ -50,7 +50,9 @@ DETAIL.openContentDetail = function() {
...
@@ -50,7 +50,9 @@ DETAIL.openContentDetail = function() {
$
(
"#txtPubDt2_Dsp"
).
text
(
''
);
$
(
"#txtPubDt2_Dsp"
).
text
(
''
);
$
(
"#txtContentDetail"
).
text
(
''
);
$
(
"#txtContentDetail"
).
text
(
''
);
$
(
"#contentDetailClose"
).
unbind
(
"click"
);
$
(
"#contentDetailClose"
).
click
(
DETAIL
.
contentDetailClose_Click
);
$
(
"#contentDetailClose"
).
click
(
DETAIL
.
contentDetailClose_Click
);
$
(
"#contentdetail_dspRead"
).
unbind
(
"click"
);
$
(
"#contentdetail_dspRead"
).
click
(
DETAIL
.
contentdetail_dspRead_Click
);
$
(
"#contentdetail_dspRead"
).
click
(
DETAIL
.
contentdetail_dspRead_Click
);
//if( ClientData.serviceOpt_content_share() != '2'){
//if( ClientData.serviceOpt_content_share() != '2'){
...
...
abvw/js/history.js
View file @
d9a5f33d
...
@@ -23,6 +23,8 @@ HISTORY.contentViewData = [];
...
@@ -23,6 +23,8 @@ HISTORY.contentViewData = [];
HISTORY
.
noRecordFlg
=
false
;
HISTORY
.
noRecordFlg
=
false
;
HISTORY
.
home_isMove
=
false
;
HISTORY
.
home_isMove
=
false
;
HISTORY
.
history_contentTitleKana
=
[];
HISTORY
.
history_contentTitleKana
=
[];
//スクロール復帰
HISTORY
.
scrollTop
=
0
;
$
(
document
).
ready
(
function
(){
$
(
document
).
ready
(
function
(){
...
@@ -1543,7 +1545,12 @@ HISTORY.showContentShareDlgFunction = function(e) {
...
@@ -1543,7 +1545,12 @@ HISTORY.showContentShareDlgFunction = function(e) {
HISTORY
.
showContentView
=
function
(){
HISTORY
.
showContentView
=
function
(){
//試験
var
y
=
document
.
documentElement
.
scrollTop
||
document
.
body
.
scrollTop
;
//console.log("scrollTop:" + y);
HISTORY
.
scrollTop
=
y
;
//TOPに戻す
document
.
documentElement
.
scrollTop
=
0
;
$
(
"#header-ws"
).
hide
();
$
(
"#header-ws"
).
hide
();
$
(
"#ws-body"
).
hide
();
$
(
"#ws-body"
).
hide
();
$
(
"#topcontrol"
).
hide
();
$
(
"#topcontrol"
).
hide
();
...
...
abvw/js/home.js
View file @
d9a5f33d
...
@@ -39,6 +39,9 @@ HOME.timer_subMenu;
...
@@ -39,6 +39,9 @@ HOME.timer_subMenu;
HOME
.
genre_totalcontent
=
-
1
;
HOME
.
genre_totalcontent
=
-
1
;
HOME
.
group_totalcontent
=
-
1
;
HOME
.
group_totalcontent
=
-
1
;
//スクロール復帰
HOME
.
scrollTop
=
0
;
//==========================================================
//==========================================================
$
(
document
).
ready
(
function
()
{
$
(
document
).
ready
(
function
()
{
...
@@ -2762,6 +2765,11 @@ HOME.cssInit = function(){
...
@@ -2762,6 +2765,11 @@ HOME.cssInit = function(){
HOME
.
showContentView
=
function
(){
HOME
.
showContentView
=
function
(){
var
y
=
document
.
documentElement
.
scrollTop
||
document
.
body
.
scrollTop
;
HOME
.
scrollTop
=
y
;
//TOPに戻す
document
.
documentElement
.
scrollTop
=
0
;
//試験
//試験
$
(
"#header-ws"
).
hide
();
$
(
"#header-ws"
).
hide
();
$
(
"#ws-body"
).
hide
();
$
(
"#ws-body"
).
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