Commit 46d4e2b7 by Masaru Abe

isErrorContentのロジック修正

parent 40bb0e61
...@@ -2970,16 +2970,21 @@ function syncContentData() { ...@@ -2970,16 +2970,21 @@ function syncContentData() {
function isErrorContent(contentid) { function isErrorContent(contentid) {
var ret = false;
for (var j = errorContent.length - 1; j >= 0; j--) { for (var j = errorContent.length - 1; j >= 0; j--) {
var contentErr = errorContent[j]; var contentErr = errorContent[j];
if (contentid == contentErr.contentid) { if (contentid == contentErr.contentid) {
return true; //return true;
} ret = true;
else { break;
return false;
} }
//else {
// return false;
//}
} }
return ret;
}; };
function getExistContentPages() { function getExistContentPages() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment