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
9be30def
Commit
9be30def
authored
Apr 03, 2015
by
Masaru Abe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#15795 【DSN】Androidから未DLマーク無しコンテンツのバックアップデータをWebにリストアするとNEWになる
parent
fc7b1a01
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
6 deletions
+9
-6
abvw/js/contentsearch.js
+3
-2
abvw/js/history.js
+3
-2
abvw/js/home.js
+3
-2
No files found.
abvw/js/contentsearch.js
View file @
9be30def
...
@@ -906,9 +906,10 @@ CONTENTSEARCH.checkUserHasReadContent = function(contId, resourceVer, metaVer) {
...
@@ -906,9 +906,10 @@ CONTENTSEARCH.checkUserHasReadContent = function(contId, resourceVer, metaVer) {
//コンテンツ状態バックアップ対応
//コンテンツ状態バックアップ対応
var
bkContentStatus
=
HEADER
.
getContentStatus
(
contId
);
var
bkContentStatus
=
HEADER
.
getContentStatus
(
contId
);
var
contentStatus
=
null
;
var
contentStatus
=
null
;
if
(
bkContentStatus
==
0
){
if
(
bkContentStatus
==
0
||
bkContentStatus
==
4
){
contentStatus
=
0
;
//READ
contentStatus
=
0
;
//READ
}
else
if
(
bkContentStatus
==
1
||
bkContentStatus
==
2
||
bkContentStatus
==
4
){
//} else if( bkContentStatus == 1 || bkContentStatus == 2 || bkContentStatus == 4 ){
}
else
if
(
bkContentStatus
==
1
||
bkContentStatus
==
2
){
contentStatus
=
1
;
//NEW
contentStatus
=
1
;
//NEW
}
else
if
(
bkContentStatus
==
3
){
}
else
if
(
bkContentStatus
==
3
){
contentStatus
=
2
;
//UPDATE
contentStatus
=
2
;
//UPDATE
...
...
abvw/js/history.js
View file @
9be30def
...
@@ -751,9 +751,10 @@ HISTORY.checkUserHasReadContent = function(contId, resourceVer, metaVer){
...
@@ -751,9 +751,10 @@ HISTORY.checkUserHasReadContent = function(contId, resourceVer, metaVer){
//コンテンツ状態バックアップ対応
//コンテンツ状態バックアップ対応
var
bkContentStatus
=
HEADER
.
getContentStatus
(
contId
);
var
bkContentStatus
=
HEADER
.
getContentStatus
(
contId
);
var
contentStatus
=
null
;
var
contentStatus
=
null
;
if
(
bkContentStatus
==
0
){
if
(
bkContentStatus
==
0
||
bkContentStatus
==
4
){
contentStatus
=
0
;
//READ
contentStatus
=
0
;
//READ
}
else
if
(
bkContentStatus
==
1
||
bkContentStatus
==
2
||
bkContentStatus
==
4
){
//} else if( bkContentStatus == 1 || bkContentStatus == 2 || bkContentStatus == 4 ){
}
else
if
(
bkContentStatus
==
1
||
bkContentStatus
==
2
){
contentStatus
=
1
;
//NEW
contentStatus
=
1
;
//NEW
}
else
if
(
bkContentStatus
==
3
){
}
else
if
(
bkContentStatus
==
3
){
contentStatus
=
2
;
//UPDATE
contentStatus
=
2
;
//UPDATE
...
...
abvw/js/home.js
View file @
9be30def
...
@@ -1915,9 +1915,10 @@ HOME.checkUserHasReadContent = function(contId, resourceVer, metaVer) {
...
@@ -1915,9 +1915,10 @@ HOME.checkUserHasReadContent = function(contId, resourceVer, metaVer) {
var
bkContentStatus
=
HEADER
.
getContentStatus
(
contId
);
var
bkContentStatus
=
HEADER
.
getContentStatus
(
contId
);
//console.log("contId:" + contId + " bkStatus:" + bkContentStatus);
//console.log("contId:" + contId + " bkStatus:" + bkContentStatus);
var
contentStatus
=
null
;
var
contentStatus
=
null
;
if
(
bkContentStatus
==
0
){
if
(
bkContentStatus
==
0
||
bkContentStatus
==
4
){
contentStatus
=
0
;
//READ
contentStatus
=
0
;
//READ
}
else
if
(
bkContentStatus
==
1
||
bkContentStatus
==
2
||
bkContentStatus
==
4
){
//} else if( bkContentStatus == 1 || bkContentStatus == 2 || bkContentStatus == 4 ){
}
else
if
(
bkContentStatus
==
1
||
bkContentStatus
==
2
){
contentStatus
=
1
;
//NEW
contentStatus
=
1
;
//NEW
}
else
if
(
bkContentStatus
==
3
){
}
else
if
(
bkContentStatus
==
3
){
contentStatus
=
2
;
//UPDATE
contentStatus
=
2
;
//UPDATE
...
...
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