Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-33835 Marking Guide - set currentfocus var to the first criteria …

…comment to avoid JS errors.
  • Loading branch information...
commit 7debccbdee9f8157d320d1a637b1eccf5a376090 1 parent 9a211c8
@danmarsden danmarsden authored danpoltawski committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  grade/grading/form/guide/js/guide.js
View
2  grade/grading/form/guide/js/guide.js
@@ -4,7 +4,7 @@ M.gradingform_guide = {};
* This function is called for each guide on page.
*/
M.gradingform_guide.init = function(Y, options) {
- var currentfocus = null;
+ var currentfocus = Y.one('.markingguideremark');
Y.all('.markingguideremark').on('blur', function(e) {
currentfocus = e.currentTarget;
Please sign in to comment.
Something went wrong with that request. Please try again.