Merge branch 'MDL-75978-master' of https://github.com/JBThong/moodle

This commit is contained in:
Andrew Nicols
2023-01-27 12:24:53 +08:00
3 changed files with 7 additions and 2 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+5
View File
@@ -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));