Merge branch 'MDL-68439-master' of https://github.com/HuongNV13/moodle

This commit is contained in:
Andrew Nicols 2020-05-21 20:30:13 +08:00
commit f2d33fcc11
4 changed files with 5 additions and 5 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -314,11 +314,11 @@ define(['jquery', 'core/dragdrop', 'core/key_codes'], function($, dragDrop, keys
// Is there already a drag in this drop? if so, evict it.
var oldDrag = this.getCurrentDragInPlace(this.getPlace(drop));
if (oldDrag.length !== 0) {
oldDrag.addClass('beingdragged');
oldDrag.offset(oldDrag.offset());
var currentPlace = this.getClassnameNumericSuffix(oldDrag, 'inplace');
var hiddenDrop = this.getDrop(oldDrag, currentPlace);
hiddenDrop.addClass('active');
oldDrag.addClass('beingdragged');
oldDrag.offset(hiddenDrop.offset());
this.sendDragHome(oldDrag);
}

View File

@ -34,7 +34,7 @@
cursor: move;
}
.que.ddwtos .readonly .draghome {
.que.ddwtos.qtype_ddwtos-readonly .draghome {
cursor: default;
}