mirror of
https://github.com/moodle/moodle.git
synced 2025-03-20 07:30:01 +01:00
Merge branch 'MDL-75978-401' of https://github.com/JBThong/moodle into MOODLE_401_STABLE
This commit is contained in:
commit
0a4f551fff
2
question/type/ddwtos/amd/build/ddwtos.min.js
vendored
2
question/type/ddwtos/amd/build/ddwtos.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -393,6 +393,11 @@ define([
|
||||
drop.focus();
|
||||
}
|
||||
} else {
|
||||
// Prevent the drag item drop into two drop-zone.
|
||||
if (this.getClassnameNumericSuffix(drag, 'inplace')) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.setInputValue(this.getPlace(drop), this.getChoice(drag));
|
||||
drag.removeClass('unplaced')
|
||||
.addClass('placed inplace' + this.getPlace(drop));
|
||||
|
Loading…
x
Reference in New Issue
Block a user