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
97a5715f
Commit
97a5715f
authored
Apr 24, 2015
by
Masaru Abe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#15764 CMSオーサリングプレビューの試験クイズ対応
parent
018eece0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
19 deletions
+16
-19
abvw/js/contentview_CreateObjects.js
+3
-16
abvw/js/contentview_GetData.js
+13
-3
No files found.
abvw/js/contentview_CreateObjects.js
View file @
97a5715f
...
...
@@ -962,11 +962,7 @@ CONTENTVIEW_CREATEOBJECT.anket = function (mediaType, actionType, id, imageUrl,
/*stop audio on page */
CONTENTVIEW
.
stopAllAudio
();
var
url
=
CONTENTVIEW_GETDATA
.
getURLPageImage
(
"webEnqueteReply/init"
)
+
"/?abObjectId="
+
objectId
+
"&sid="
+
CONTENTVIEW
.
getSessionId
();
if
(
ClientData
.
isStreamingMode
()){
//ストリーミング
url
=
url
+
"&isStreaming=true"
;
}
var
url
=
CONTENTVIEW_GETDATA
.
getURLPageImage
(
"webEnqueteReply/init"
)
+
"&abObjectId="
+
objectId
+
"&sid="
+
CONTENTVIEW
.
getSessionId
();
var
isFullScreen
=
false
;
if
(
parseInt
(
fullscreen
)
==
1
){
...
...
@@ -1014,11 +1010,7 @@ CONTENTVIEW_CREATEOBJECT.exam = function (mediaType, actionType, id, imageUrl, x
}
else
{
isSendResult
=
false
;
}
var
url
=
CONTENTVIEW_GETDATA
.
getURLPageImage
(
"webEnqueteReply/init"
)
+
"/?abObjectId="
+
objectId
+
"&sid="
+
CONTENTVIEW
.
getSessionId
()
+
"&isShowResult="
+
isShowResult
+
"&isSendResult="
+
isSendResult
;
if
(
ClientData
.
isStreamingMode
()){
//ストリーミング
url
=
url
+
"&isStreaming=true"
;
}
var
url
=
CONTENTVIEW_GETDATA
.
getURLPageImage
(
"webEnqueteReply/init"
)
+
"&abObjectId="
+
objectId
+
"&sid="
+
CONTENTVIEW
.
getSessionId
()
+
"&isShowResult="
+
isShowResult
+
"&isSendResult="
+
isSendResult
;
var
isFullScreen
=
false
;
if
(
parseInt
(
fullscreen
)
==
1
){
isFullScreen
=
true
;
...
...
@@ -1055,12 +1047,7 @@ CONTENTVIEW_CREATEOBJECT.quiz = function (mediaType, actionType, id, imageUrl, x
/*stop audio on page */
CONTENTVIEW
.
stopAllAudio
();
var
url
=
CONTENTVIEW_GETDATA
.
getURLPageImage
(
"webEnqueteReply/init"
)
+
"/?abObjectId="
+
objectId
+
"&sid="
+
CONTENTVIEW
.
getSessionId
();
if
(
ClientData
.
isStreamingMode
()){
//ストリーミング
url
=
url
+
"&isStreaming=true"
;
}
var
url
=
CONTENTVIEW_GETDATA
.
getURLPageImage
(
"webEnqueteReply/init"
)
+
"&abObjectId="
+
objectId
+
"&sid="
+
CONTENTVIEW
.
getSessionId
();
var
isFullScreen
=
false
;
if
(
parseInt
(
fullscreen
)
==
1
){
isFullScreen
=
true
;
...
...
abvw/js/contentview_GetData.js
View file @
97a5715f
...
...
@@ -4,10 +4,20 @@ var CONTENTVIEW_GETDATA = {};
/* get url */
CONTENTVIEW_GETDATA
.
getURLPageImage
=
function
(
apiName
)
{
//var sysSettings = AVWEB.avwSysSetting();
//var url = sysSettings.apiUrl;
var
isStreaming
=
"false"
;
if
(
ClientData
.
isStreamingMode
()){
isStreaming
=
"true"
;
}
var
url
=
ClientData
.
conf_apiUrl
();
url
=
AVWEB
.
format
(
url
,
ClientData
.
userInfo_accountPath
())
+
'/'
+
apiName
;
url
=
AVWEB
.
format
(
url
,
ClientData
.
userInfo_accountPath
())
+
'/'
+
apiName
+
'/?isStreaming='
+
isStreaming
;
//オーサリングプレビュー対応
if
(
COMMON
.
isAuthoringPreview
()
&&
CONTENTVIEW_GENERAL
.
pid
!=
''
){
url
=
url
+
'&pid='
+
CONTENTVIEW_GENERAL
.
pid
;
}
return
url
;
};
...
...
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