MDL-36002 keyboard drag drop: Hidden activities and labels

Get the correct title for hidden activities and labels.
This commit is contained in:
Damyon Wiese 2013-08-19 16:18:23 +08:00
parent bbb483b259
commit ea8c248c96

View file

@ -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 == '') {