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
7caab182
Commit
7caab182
authored
Apr 24, 2015
by
vietdo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#16040 Web版 サービスオプション「PDF内容のテキストコピー」対応
parent
4eebf66c
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
44 additions
and
8 deletions
+44
-8
abvw/common/js/common.js
+10
-0
abvw/js/contentview.js
+9
-3
abvw/js/contentview_General.js
+11
-2
abvw/js/contentview_InitObjects.js
+10
-1
abvw/js/login.js
+4
-2
No files found.
abvw/common/js/common.js
View file @
7caab182
...
...
@@ -191,6 +191,8 @@ COMMON.Keys = {
serviceOpt_force_pw_change_periodically
:
'force_pw_change_periodically'
,
// Session:事業者オプション(serviceOpt)_メモ・マーキングデータバックアップ使用:Char(Y:可能, N:不可)
serviceOpt_user_data_backup
:
'user_data_backup'
,
// Session:事業者オプション(serviceOpt)_テキストコピー機能使用:Char(Y:可能, N:不能)
serviceOpt_copy_text
:
'copy_text'
,
// Session :事業者オプション(serviceOpt)_マーキング機能使用:Char(Y:可能, N:不可)
serviceOpt_marking
:
'marking'
,
// No.8: do not use this value: serviceOpt_force_login_periodically
...
...
@@ -1194,6 +1196,14 @@ var ClientData = {
}
},
// Session:事業者オプション(serviceOpt)_テキストコピー機能使用:Char(Y:可能, N:不可)
serviceOpt_copy_text
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
SessionStorageUtils
.
set
(
COMMON
.
Keys
.
serviceOpt_copy_text
,
data
);
}
else
{
return
SessionStorageUtils
.
get
(
COMMON
.
Keys
.
serviceOpt_copy_text
);
}
},
// Session :事業者オプション(serviceOpt)_マーキング機能使用:Char(Y:可能, N:不可)
serviceOpt_marking
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
...
...
abvw/js/contentview.js
View file @
7caab182
...
...
@@ -3775,9 +3775,15 @@ CONTENTVIEW.enableControlsCopyMemo = function() {
if
(
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_PDF
){
$
(
'#listindex'
).
bind
(
'click'
,
CONTENTVIEW_EVENTS
.
showListPageIndex
);
$
(
'#listindex'
).
removeClass
();
$
(
'#copytext'
).
bind
(
'click'
,
CONTENTVIEW_EVENTS
.
showCopyText
);
$
(
'#copytext'
).
removeClass
();
if
(
ClientData
.
serviceOpt_copy_text
()
==
'Y'
)
{
$
(
'#copytext'
).
bind
(
'click'
,
CONTENTVIEW_EVENTS
.
showCopyText
);
$
(
'#copytext'
).
removeClass
();
}
else
{
$
(
'#copytext'
).
unbind
(
'click'
);
$
(
'#copytext'
).
removeClass
();
$
(
'#copytext'
).
addClass
(
'copy_off'
);
}
//sessionStorage.removeItem('copy_text');
}
//Start Function : No.12 - Editor : Long - Date : 08/28/2013 - Summary :
...
...
abvw/js/contentview_General.js
View file @
7caab182
...
...
@@ -177,8 +177,17 @@ CONTENTVIEW_GENERAL.enableAllControl = function() {
$
(
'#listindex'
).
bind
(
'click'
,
CONTENTVIEW_EVENTS
.
showListPageIndex
);
$
(
'#listindex'
).
removeClass
();
$
(
'#copytext'
).
bind
(
'click'
,
CONTENTVIEW_EVENTS
.
showCopyText
);
$
(
'#copytext'
).
removeClass
();
if
(
ClientData
.
serviceOpt_copy_text
()
==
'Y'
)
{
$
(
'#copytext'
).
bind
(
'click'
,
CONTENTVIEW_EVENTS
.
showCopyText
);
$
(
'#copytext'
).
removeClass
();
}
else
{
$
(
'#copytext'
).
unbind
(
'click'
);
$
(
'#copytext'
).
removeClass
();
$
(
'#copytext'
).
addClass
(
'copy_off'
);
}
// sessionStorage.removeItem('copy_text');
// $('#copytext').bind('click', CONTENTVIEW_EVENTS.showCopyText);
// $('#copytext').removeClass();
}
//End Function: No.12
...
...
abvw/js/contentview_InitObjects.js
View file @
7caab182
...
...
@@ -176,7 +176,16 @@ CONTENTVIEW_INITOBJECT.initPage = function() {
$
(
'#divSearchResult li'
).
die
();
$
(
'#divSearchResult li'
).
live
(
'click'
,
CONTENTVIEW_EVENTS
.
clickSearchDetail
);
/* copy text */
$
(
'#copytext'
).
click
(
CONTENTVIEW_EVENTS
.
showCopyText
);
if
(
ClientData
.
serviceOpt_copy_text
()
==
'Y'
)
{
$
(
'#copytext'
).
click
(
CONTENTVIEW_EVENTS
.
showCopyText
);
}
else
{
$
(
'#copytext'
).
unbind
(
'click'
);
$
(
'#copytext'
).
removeClass
();
$
(
'#copytext'
).
addClass
(
'copy_off'
);
}
// sessionStorage.removeItem('copy_text');
/* close copy text dialog */
//$("#copyTextClosing").click(CONTENTVIEW_EVENTS.closeCopyTextBox);
$
(
"#copyTextClosing"
).
on
({
...
...
abvw/js/login.js
View file @
7caab182
...
...
@@ -79,7 +79,6 @@ LOGIN.saveLoginInfo = function(paramLid, paramP, accountPath) {
ClientData
.
userInfo_sid_local_bak
(
LOGIN
.
userinfo_sid
);
LOGIN
.
saveServiceUserOption
();
//ページジャンプ設定をクリア
ClientData
.
JumpQueue
([]);
ClientData
.
IsJumpBack
(
false
);
...
...
@@ -486,13 +485,15 @@ LOGIN.saveServiceUserOption = function(){
else
if
(
option
.
serviceOptionId
==
28
)
{
ClientData
.
serviceOpt_user_data_backup
(
option
.
value
);
}
else
if
(
option
.
serviceOptionId
==
42
)
{
ClientData
.
serviceOpt_copy_text
(
option
.
value
);
}
else
if
(
option
.
serviceOptionId
==
60
)
{
ClientData
.
serviceOpt_web_screen_lock
(
option
.
value
);
}
else
if
(
option
.
serviceOptionId
==
61
)
{
ClientData
.
serviceOpt_web_screen_lock_wait
(
option
.
value
);
}
else
if
(
option
.
serviceOptionId
==
70
)
{
ClientData
.
serviceOpt_catalog_edition
(
option
.
value
);
}
...
...
@@ -642,6 +643,7 @@ LOGIN.initLoginAnonymousUser = function() {
// save service user option
LOGIN
.
saveServiceUserOption
();
// hide splash screen then move to home page
$
(
'#anonymous'
).
fadeOut
(
'slow'
,
'swing'
,
function
()
{
//カタログエディション対応判定
...
...
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