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
005e8d8b
Commit
005e8d8b
authored
Jul 05, 2017
by
Masaru Abe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#25861 オーサリング機能のプレビュー機能が無反応となる
parent
cda12f58
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
2 deletions
+26
-2
abvw/js/contentview_CallApi.js
+26
-2
No files found.
abvw/js/contentview_CallApi.js
View file @
005e8d8b
...
@@ -286,7 +286,11 @@ CONTENTVIEW_CALLAPI.getDataJsonFileDone = function(data) {
...
@@ -286,7 +286,11 @@ CONTENTVIEW_CALLAPI.getDataJsonFileDone = function(data) {
}
}
//Start : Function : No.12 - Editor : Long - Date: 08/27/2013 - Summary : Get Page Object for content type none
//Start : Function : No.12 - Editor : Long - Date: 08/27/2013 - Summary : Get Page Object for content type none
else
{
else
{
//#25861 オーサリング機能のプレビュー機能が無反応となる
if
(
JsonFile
.
content
)
{
CONTENTVIEW_GENERAL
.
pageObjectsData
=
JsonFile
.
content
.
pages
;
CONTENTVIEW_GENERAL
.
pageObjectsData
=
JsonFile
.
content
.
pages
;
}
if
(
data
.
contentDataSub
!=
null
&&
data
.
contentDataSub
.
length
>
0
){
if
(
data
.
contentDataSub
!=
null
&&
data
.
contentDataSub
.
length
>
0
){
for
(
var
i
=
0
;
i
<
CONTENTVIEW_GENERAL
.
pageObjectsData
.
length
;
i
++
){
for
(
var
i
=
0
;
i
<
CONTENTVIEW_GENERAL
.
pageObjectsData
.
length
;
i
++
){
...
@@ -300,15 +304,35 @@ CONTENTVIEW_CALLAPI.getDataJsonFileDone = function(data) {
...
@@ -300,15 +304,35 @@ CONTENTVIEW_CALLAPI.getDataJsonFileDone = function(data) {
if
(
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_NoFile
){
if
(
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_NoFile
){
var
pageDataInfo
=
[];
var
pageDataInfo
=
[];
if
(
JsonFile
.
height
){
pageDataInfo
[
"height"
]
=
JsonFile
.
height
;
pageDataInfo
[
"height"
]
=
JsonFile
.
height
;
}
else
{
pageDataInfo
[
"height"
]
=
"1004"
;
}
if
(
JsonFile
.
width
){
pageDataInfo
[
"width"
]
=
JsonFile
.
width
;
pageDataInfo
[
"width"
]
=
JsonFile
.
width
;
}
else
{
pageDataInfo
[
"width"
]
=
"710"
;
}
if
(
JsonFile
.
backgroundAlpha
){
pageDataInfo
[
"alpha"
]
=
JsonFile
.
backgroundAlpha
;
pageDataInfo
[
"alpha"
]
=
JsonFile
.
backgroundAlpha
;
}
else
{
pageDataInfo
[
"alpha"
]
=
"1"
;
}
if
(
JsonFile
.
backgroundColor
){
pageDataInfo
[
"color"
]
=
JsonFile
.
backgroundColor
;
pageDataInfo
[
"color"
]
=
JsonFile
.
backgroundColor
;
}
else
{
pageDataInfo
[
"color"
]
=
"ffffff"
;
}
if
(
JsonFile
.
totalPageNum
){
CONTENTVIEW_GENERAL
.
totalPage
=
parseInt
(
JsonFile
.
totalPageNum
);
CONTENTVIEW_GENERAL
.
totalPage
=
parseInt
(
JsonFile
.
totalPageNum
);
}
else
{
CONTENTVIEW_GENERAL
.
totalPage
=
1
;
}
CONTENTVIEW_GENERAL
.
pageImages
=
CONTENTVIEW_CONTENTTYPENONE
.
returnImageString
(
pageDataInfo
);
CONTENTVIEW_GENERAL
.
pageImages
=
CONTENTVIEW_CONTENTTYPENONE
.
returnImageString
(
pageDataInfo
);
CONTENTVIEW_GENERAL
.
widthContentImage
=
JsonFile
.
width
;
CONTENTVIEW_GENERAL
.
widthContentImage
=
pageDataInfo
[
"width"
]
;
CONTENTVIEW_GENERAL
.
heightContentImage
=
JsonFile
.
height
;
CONTENTVIEW_GENERAL
.
heightContentImage
=
pageDataInfo
[
"height"
]
;
}
}
//End : Function : No.12 - Editor : Long - Date: 08/27/2013 - Summary : Get Page Object for content type none
//End : Function : No.12 - Editor : Long - Date: 08/27/2013 - Summary : Get Page Object for content type none
...
...
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