Refactor for new capa question/answer framework

This commit is contained in:
Piotr Mitros
2012-01-10 21:48:42 -05:00
parent 680e3da1dc
commit fc81719a87
3 changed files with 27 additions and 1 deletions

View File

@@ -36,7 +36,7 @@ function ${ id }_load() {
$('#show_${ id }').click(function() {
postJSON('/modx/problem/${ id }/problem_show', {}, function(data) {
for (var key in data) {
$("#answer_${ id }_"+key).text(data[key]);
$("#answer_"+key).text(data[key]);
}
});