mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-64324 question: do not expect form id to be mform1
This commit is contained in:
parent
324c4f0556
commit
48f9ebcd62
File diff suppressed because one or more lines are too long
@ -450,7 +450,7 @@ define(['jquery', 'core/dragdrop'], function($, dragDrop) {
|
||||
},
|
||||
|
||||
getEl: function(name, indexes) {
|
||||
var form = document.getElementById('mform1');
|
||||
var form = $('form.mform')[0];
|
||||
return form.elements[this.toNameWithIndex(name, indexes)];
|
||||
},
|
||||
|
||||
|
2
question/type/ddmarker/amd/build/form.min.js
vendored
2
question/type/ddmarker/amd/build/form.min.js
vendored
File diff suppressed because one or more lines are too long
@ -664,7 +664,7 @@ define(['jquery', 'core/dragdrop', 'qtype_ddmarker/shapes'], function($, dragDro
|
||||
},
|
||||
|
||||
getEl: function(name, indexes) {
|
||||
var form = document.getElementById('mform1');
|
||||
var form = $('form.mform')[0];
|
||||
return form.elements[this.toNameWithIndex(name, indexes)];
|
||||
},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user