mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
Merge branch 'MDL-68439-master' of https://github.com/HuongNV13/moodle
This commit is contained in:
commit
f2d33fcc11
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
@ -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);
|
||||
}
|
||||
|
||||
|
@ -34,7 +34,7 @@
|
||||
cursor: move;
|
||||
}
|
||||
|
||||
.que.ddwtos .readonly .draghome {
|
||||
.que.ddwtos.qtype_ddwtos-readonly .draghome {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user