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
c9d68471
Commit
c9d68471
authored
Nov 19, 2014
by
Masaru Abe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
存在しないgetUrlParamメソッドの対応
parent
87ad51c7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
14 deletions
+12
-14
abvw/js/contentview_Events.js
+12
-14
No files found.
abvw/js/contentview_Events.js
View file @
c9d68471
...
...
@@ -45,15 +45,15 @@ CONTENTVIEW_EVENTS.handleAddMemo = function(event) {
}
//End Function : No.4
//Start Function : No.4
if
(
CONTENTVIEW_GETDATA
.
getContent
().
hasNextPage
()){
CONTENTVIEW
.
drawMemoOnScreen
(
1
);
}
if
(
CONTENTVIEW_GETDATA
.
getContent
().
hasPreviousPage
()){
CONTENTVIEW
.
drawMemoOnScreen
(
2
);
}
//End Function : No.4
//
//
Start Function : No.4
//
if(CONTENTVIEW_GETDATA.getContent().hasNextPage()){
//
CONTENTVIEW.drawMemoOnScreen(1);
//
}
//
//
if(CONTENTVIEW_GETDATA.getContent().hasPreviousPage()){
//
CONTENTVIEW.drawMemoOnScreen(2);
//
}
//
//
End Function : No.4
//change class
$
(
'#imgaddmemo'
).
removeClass
();
$
(
'#imgaddmemo'
).
addClass
(
'memoAdd'
);
...
...
@@ -387,8 +387,7 @@ CONTENTVIEW_EVENTS.firstPage_click = function() {
if
(
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_PDF
){
console
.
log
(
"CONTENTVIEW_EVENTS.firstPage_click"
);
//console.log("CONTENTVIEW_EVENTS.firstPage_click");
AVWEB
.
avwGrabContentPageImage
(
ClientData
.
userInfo_accountPath
(),
{
contentId
:
CONTENTVIEW_GENERAL
.
contentID
,
sid
:
ClientData
.
userInfo_sid
(),
pageNo
:
1
},
function
(
data
)
{
...
...
@@ -463,8 +462,7 @@ CONTENTVIEW_EVENTS.lastPage_click = function() {
if
(
CONTENTVIEW_GENERAL
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_PDF
){
console
.
log
(
"CONTENTVIEW_EVENTS.lastPage_click"
);
//console.log("CONTENTVIEW_EVENTS.lastPage_click");
AVWEB
.
avwGrabContentPageImage
(
ClientData
.
userInfo_accountPath
(),
{
contentId
:
CONTENTVIEW_GENERAL
.
contentID
,
sid
:
ClientData
.
userInfo_sid
(),
pageNo
:
CONTENTVIEW_GENERAL
.
totalPage
},
function
(
data
)
{
...
...
@@ -684,7 +682,7 @@ CONTENTVIEW_EVENTS.update3DImagesArr = function(){
var
tempX
=
object3d
[
"x"
];
var
tempY
=
object3d
[
"y"
];
tempInitImage
=
AVWEB
.
getURL
(
"webResourceDownload"
)
+
"/?sid="
+
ClientData
.
userInfo_sid
()
+
"&resourceId="
+
getUrlParams
(
tempInitImage
,
'resourceId'
);
tempInitImage
=
AVWEB
.
getURL
(
"webResourceDownload"
)
+
"/?sid="
+
ClientData
.
userInfo_sid
()
+
"&resourceId="
+
CONTENTVIEW_EVENTS
.
getUrlParamByUrl
(
tempInitImage
,
'resourceId'
);
for
(
var
j
=
0
;
j
<
temp3dview
.
length
;
j
++
){
var
url
=
temp3dview
[
j
];
var
id
=
CONTENTVIEW_EVENTS
.
getUrlParamByUrl
(
url
,
'resourceId'
);
...
...
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