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
9ad5847c
Commit
9ad5847c
authored
Aug 04, 2014
by
Masaru Abe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Getits詳細ログ送信判定
parent
809f824e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
1 deletions
+32
-1
abvw/common/js/common.js
+25
-1
abvw/js/login.js
+7
-0
No files found.
abvw/common/js/common.js
View file @
9ad5847c
...
...
@@ -206,6 +206,10 @@ var Keys = {
serviceOpt_hibiyakadan_catalog
:
'hibiyakadan_catalog'
,
// Session :事業者オプション(serviceOpt)_DHカスタム:Char(Y:可能, N:不可)
serviceOpt_daihatsu
:
'daihatsu'
,
// Session :事業者オプション(serviceOpt)_getits向けGPS使用可:Char(Y:可能, N:不可)
serviceOpt_reader_usable_readinglog_gps
:
'reader_usable_readinglog_gps'
,
// Session :事業者オプション(serviceOpt)_getits向け詳細ログ使用可:Char(Y:可能, N:不可)
serviceOpt_reader_readinglog_object
:
'reader_readinglog_object'
,
// Session :共通(common)_コンテンツID:Integer
common_contentId
:
'common_contentId'
,
...
...
@@ -1203,6 +1207,24 @@ var ClientData = {
return
SessionStorageUtils
.
get
(
Keys
.
serviceOpt_usable_readinglog_object
);
}
},
// Session :事業者オプション(serviceOpt)_getits_GPS使用可:Char(Y:可能, N:不可)
serviceOpt_reader_usable_readinglog_gps
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
SessionStorageUtils
.
set
(
Keys
.
serviceOpt_reader_usable_readinglog_gps
,
data
);
}
else
{
return
SessionStorageUtils
.
get
(
Keys
.
serviceOpt_reader_usable_readinglog_gps
);
}
},
// Session :事業者オプション(serviceOpt)_getits_詳細ログ使用可:Char(Y:可能, N:不可)
serviceOpt_reader_readinglog_object
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
SessionStorageUtils
.
set
(
Keys
.
serviceOpt_reader_readinglog_object
,
data
);
}
else
{
return
SessionStorageUtils
.
get
(
Keys
.
serviceOpt_reader_readinglog_object
);
}
},
// Session :事業者オプション(serviceOpt)_カタログエディション:Char(Y:可能, N:不可)
serviceOpt_catalog_edition
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
...
...
@@ -2346,7 +2368,9 @@ COMMON.RegisterLog = function() {
//ページログJSONデータの作成
var
pageLogJson
=
""
;
var
objectLogJson
=
""
;
if
(
ClientData
.
serviceOpt_usable_readinglog_object
()
==
'Y'
){
//biz/adモードで詳細ログY か getitsでgetits詳細ログY の場合
if
((
ClientData
.
isGetitsMode
()
==
false
&&
ClientData
.
serviceOpt_usable_readinglog_object
()
==
'Y'
)
||
(
ClientData
.
isGetitsMode
()
==
true
&&
ClientData
.
serviceOpt_reader_readinglog_object
()
==
'Y'
)){
var
pageLogArray
=
arrContentLogs
[
nIndex
].
pageLogArray
;
//詳細ログオプションが有効ならページ閲覧ログデータ作成
if
(
pageLogArray
!=
null
&&
pageLogArray
.
length
>
0
){
...
...
abvw/js/login.js
View file @
9ad5847c
...
...
@@ -479,6 +479,13 @@ LOGIN.saveServiceUserOption = function(){
else
if
(
option
.
serviceName
==
'usable_readinglog_object'
)
{
ClientData
.
serviceOpt_usable_readinglog_object
(
option
.
value
);
}
else
if
(
option
.
serviceName
==
'reader_usable_readinglog_gps'
)
{
ClientData
.
serviceOpt_reader_usable_readinglog_gps
(
option
.
value
);
}
else
if
(
option
.
serviceName
==
'reader_readinglog_object'
)
{
ClientData
.
serviceOpt_reader_readinglog_object
(
option
.
value
);
}
else
if
(
option
.
serviceName
==
'daihatsu'
)
{
ClientData
.
serviceOpt_daihatsu
(
option
.
value
);
}
...
...
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