From 4af499cdd5c9ac1e0ae1eb18361a585d25a784f6 Mon Sep 17 00:00:00 2001 From: Eric Fischer Date: Mon, 12 Jun 2017 16:08:30 -0400 Subject: [PATCH 1/2] edx-ora2 1.4.2 release --- requirements/edx/github.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements/edx/github.txt b/requirements/edx/github.txt index 1bf4591dfd..c9c3ccf088 100644 --- a/requirements/edx/github.txt +++ b/requirements/edx/github.txt @@ -75,7 +75,7 @@ git+https://github.com/edx/lettuce.git@0.2.20.002#egg=lettuce==0.2.20.002 -e git+https://github.com/edx/event-tracking.git@0.2.1#egg=event-tracking==0.2.1 -e git+https://github.com/edx/django-splash.git@v0.2#egg=django-splash==0.2 -e git+https://github.com/edx/acid-block.git@e46f9cda8a03e121a00c7e347084d142d22ebfb7#egg=acid-xblock -git+https://github.com/edx/edx-ora2.git@1.4.1#egg=ora2==1.4.1 +git+https://github.com/edx/edx-ora2.git@1.4.2#egg=ora2==1.4.2 -e git+https://github.com/edx/edx-submissions.git@2.0.0#egg=edx-submissions==2.0.0 git+https://github.com/edx/ease.git@release-2015-07-14#egg=ease==0.1.3 git+https://github.com/edx/edx-val.git@0.0.13#egg=edxval==0.0.13 From 0272b84fd0a63150a0b60508d3610c04f2f063ba Mon Sep 17 00:00:00 2001 From: Dmitry Viskov Date: Tue, 13 Jun 2017 14:12:01 +0300 Subject: [PATCH 2/2] Open Response Assessment tab for Instructor Dashboard - bugfix (prevent loading ORA Block more than one time) --- .../js/instructor_dashboard/open_response_assessment.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lms/static/js/instructor_dashboard/open_response_assessment.js b/lms/static/js/instructor_dashboard/open_response_assessment.js index c1290f7e29..d30ce0bbd3 100644 --- a/lms/static/js/instructor_dashboard/open_response_assessment.js +++ b/lms/static/js/instructor_dashboard/open_response_assessment.js @@ -7,11 +7,15 @@ function OpenResponseAssessmentBlock($section) { this.$section = $section; this.$section.data('wrapper', this); + this.initialized = false; } OpenResponseAssessmentBlock.prototype.onClickTitle = function() { var block = this.$section.find('.open-response-assessment'); - XBlock.initializeBlock($(block).find('.xblock')[0]); + if (!this.initialized) { + this.initialized = true; + XBlock.initializeBlock($(block).find('.xblock')[0]); + } }; return OpenResponseAssessmentBlock;