From 453d623b43e42a46c1271c81ff03aa70c377a5d5 Mon Sep 17 00:00:00 2001 From: ichuang Date: Sat, 11 Aug 2012 23:42:39 -0400 Subject: [PATCH] use mitx content-qa central server for staff_problem_info --- lms/templates/staff_problem_info.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lms/templates/staff_problem_info.html b/lms/templates/staff_problem_info.html index 436af6842f..f3dabb03b1 100644 --- a/lms/templates/staff_problem_info.html +++ b/lms/templates/staff_problem_info.html @@ -75,12 +75,13 @@ function sendlog_${element_id}(){ entry: $('#${element_id}_xqa_entry').val()}; $.ajax({ - url: 'http://zion.ike.net:9001/log', + url: 'http://xqa:server@content-qa.mitx.mit.edu/log', type: 'GET', contentType: 'application/json', data: JSON.stringify(xqaLog), crossDomain: true, dataType: 'jsonp', + beforeSend: function (xhr) { xhr.setRequestHeader ("Authorization", "Basic eHFhOmFnYXJ3YWw="); }, timeout : 1000, success: function(result) { $('#${element_id}_xqa_log_data').html(result); @@ -100,7 +101,7 @@ var xqaQuery = {authkey: '${xqa_key}', format: 'html'}; $.ajax({ - url: 'http://zion.ike.net:9001/query', + url: 'http://xqa:server@content-qa.mitx.mit.edu/query', type: 'GET', contentType: 'application/json', data: JSON.stringify(xqaQuery),