Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
453d623b
Commit
453d623b
authored
Aug 11, 2012
by
ichuang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use mitx content-qa central server for staff_problem_info
parent
da64c8f0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
lms/templates/staff_problem_info.html
+3
-2
No files found.
lms/templates/staff_problem_info.html
View file @
453d623b
...
@@ -75,12 +75,13 @@ function sendlog_${element_id}(){
...
@@ -75,12 +75,13 @@ function sendlog_${element_id}(){
entry
:
$
(
'#${element_id}_xqa_entry'
).
val
()};
entry
:
$
(
'#${element_id}_xqa_entry'
).
val
()};
$
.
ajax
({
$
.
ajax
({
url
:
'http://
zion.ike.net:9001
/log'
,
url
:
'http://
xqa:server@content-qa.mitx.mit.edu
/log'
,
type
:
'GET'
,
type
:
'GET'
,
contentType
:
'application/json'
,
contentType
:
'application/json'
,
data
:
JSON
.
stringify
(
xqaLog
),
data
:
JSON
.
stringify
(
xqaLog
),
crossDomain
:
true
,
crossDomain
:
true
,
dataType
:
'jsonp'
,
dataType
:
'jsonp'
,
beforeSend
:
function
(
xhr
)
{
xhr
.
setRequestHeader
(
"Authorization"
,
"Basic eHFhOmFnYXJ3YWw="
);
},
timeout
:
1000
,
timeout
:
1000
,
success
:
function
(
result
)
{
success
:
function
(
result
)
{
$
(
'#${element_id}_xqa_log_data'
).
html
(
result
);
$
(
'#${element_id}_xqa_log_data'
).
html
(
result
);
...
@@ -100,7 +101,7 @@ var xqaQuery = {authkey: '${xqa_key}',
...
@@ -100,7 +101,7 @@ var xqaQuery = {authkey: '${xqa_key}',
format
:
'html'
};
format
:
'html'
};
$
.
ajax
({
$
.
ajax
({
url
:
'http://
zion.ike.net:9001
/query'
,
url
:
'http://
xqa:server@content-qa.mitx.mit.edu
/query'
,
type
:
'GET'
,
type
:
'GET'
,
contentType
:
'application/json'
,
contentType
:
'application/json'
,
data
:
JSON
.
stringify
(
xqaQuery
),
data
:
JSON
.
stringify
(
xqaQuery
),
...
...
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