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
da4ca08b
Commit
da4ca08b
authored
May 15, 2013
by
Motohisa Nakano
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'sbb' of gitlab.agentec.jp:abook_web/web-viewer into sbb
parents
5ddb83f1
e64e6977
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
abvw/js/contentview.js
+8
-2
No files found.
abvw/js/contentview.js
View file @
da4ca08b
...
...
@@ -245,7 +245,9 @@ function getPageObjectsByPageIndex(contentData, nIndexPage) {
if
(
currentPageObjects
[
nIndex
].
mediaType
==
1
)
{
/*media type = 1 */
var
pageObject
=
getMediaType1
(
currentPageObjects
[
nIndex
]);
/*add object to page */
pageObjects
.
push
(
pageObject
);
if
(
pageObject
!=
null
)
{
pageObjects
.
push
(
pageObject
);
}
}
else
if
(
currentPageObjects
[
nIndex
].
mediaType
==
2
)
{
/*mediaType = 2 */
var
pageObject
=
getMediaType2
(
currentPageObjects
[
nIndex
]);
/*add object to page */
...
...
@@ -294,7 +296,11 @@ function getMediaType1(iValueObj) {
* Action Type = 10 : content
* Action Type = 11 : html
*/
if
(
iValueObj
.
action
!=
null
)
{
if
(
iValueObj
.
action
.
actionType
==
10
||
iValueObj
.
action
.
actionType
==
11
||
iValueObj
.
action
.
actionType
==
12
||
iValueObj
.
action
.
actionType
==
13
)
{
return
null
;
}
}
var
pageObject
=
[];
pageObject
[
'mediaType'
]
=
iValueObj
.
mediaType
;
...
...
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