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
af897b63
Commit
af897b63
authored
May 15, 2013
by
Motohisa Nakano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hotfix of #8375
parent
d39fda18
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletions
+9
-1
.gitignore
+1
-0
abvw/js/contentview.js
+8
-1
No files found.
.gitignore
View file @
af897b63
...
...
@@ -5,3 +5,4 @@ _config/
ob/
*.gz
*.zip
patch/
abvw/js/contentview.js
View file @
af897b63
...
...
@@ -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 */
...
...
@@ -295,6 +297,11 @@ function getMediaType1(iValueObj) {
* 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