mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-36002 keyboard drag drop: Hidden activities and labels
Get the correct title for hidden activities and labels.
This commit is contained in:
parent
bbb483b259
commit
ea8c248c96
1 changed files with 2 additions and 1 deletions
3
lib/yui/dragdrop/dragdrop.js
vendored
3
lib/yui/dragdrop/dragdrop.js
vendored
|
@ -208,8 +208,9 @@ YUI.add('moodle-core-dragdrop', function(Y) {
|
|||
*/
|
||||
find_element_text : function(n) {
|
||||
// The valid node types to get text from.
|
||||
var nodes = n.all('h2, h3, h4, h5, span, p');
|
||||
var nodes = n.all('h2, h3, h4, h5, span, p, div.no-overflow, div.dimmed_text');
|
||||
var text = '';
|
||||
debugger;
|
||||
|
||||
nodes.each(function () {
|
||||
if (text == '') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue