MDL-33835 Marking Guide - set currentfocus var to the first criteria comment to avoid JS errors.
This commit is contained in:
committed by
Dan Poltawski
parent
9a211c853d
commit
7debccbdee
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user