mirror of
https://github.com/moodle/moodle.git
synced 2025-05-16 05:00:01 +02:00
Merge branch 'wip-MDL-58364-master' of git://github.com/marinaglancy/moodle
This commit is contained in:
commit
287848d267
course/yui
build/moodle-course-dragdrop
src/dragdrop/js
@ -421,7 +421,7 @@ Y.extend(DRAGRESOURCE, M.core.dragdrop, {
|
||||
// Replace move icons
|
||||
var move = resourcesnode.one('a.' + CSS.EDITINGMOVE);
|
||||
if (move) {
|
||||
var sr = move.getData('sr');
|
||||
var sr = move.getData('sectionreturn');
|
||||
move.replace(this.get_drag_handle(M.util.get_string('movecoursemodule', 'moodle'),
|
||||
CSS.EDITINGMOVE, CSS.ICONCLASS, true).setAttribute('data-sectionreturn', sr));
|
||||
}
|
||||
|
File diff suppressed because one or more lines are too long
@ -417,7 +417,7 @@ Y.extend(DRAGRESOURCE, M.core.dragdrop, {
|
||||
// Replace move icons
|
||||
var move = resourcesnode.one('a.' + CSS.EDITINGMOVE);
|
||||
if (move) {
|
||||
var sr = move.getData('sr');
|
||||
var sr = move.getData('sectionreturn');
|
||||
move.replace(this.get_drag_handle(M.util.get_string('movecoursemodule', 'moodle'),
|
||||
CSS.EDITINGMOVE, CSS.ICONCLASS, true).setAttribute('data-sectionreturn', sr));
|
||||
}
|
||||
|
2
course/yui/src/dragdrop/js/resource.js
vendored
2
course/yui/src/dragdrop/js/resource.js
vendored
@ -106,7 +106,7 @@ Y.extend(DRAGRESOURCE, M.core.dragdrop, {
|
||||
// Replace move icons
|
||||
var move = resourcesnode.one('a.' + CSS.EDITINGMOVE);
|
||||
if (move) {
|
||||
var sr = move.getData('sr');
|
||||
var sr = move.getData('sectionreturn');
|
||||
move.replace(this.get_drag_handle(M.util.get_string('movecoursemodule', 'moodle'),
|
||||
CSS.EDITINGMOVE, CSS.ICONCLASS, true).setAttribute('data-sectionreturn', sr));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user