Commit 6ddd13f8 by Diana Huang

Merge pull request #857 from edx/diana/fix-staff-save

Scope the submission response to the correct form elements.
parents 1c2f6c45 d9cf4f24
......@@ -247,7 +247,7 @@ OpenAssessment.ResponseView.prototype = {
array of strings: The current response texts.
**/
response: function(texts) {
var sel = $('.submission__answer__part__text__value', this.element);
var sel = $('.response__submission .submission__answer__part__text__value', this.element);
if (typeof texts === 'undefined') {
return sel.map(function() {
return $.trim($(this).val());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment