mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 12:45:04 +01:00
Merge branch 'MDL-46157-master' of git://github.com/cameron1729/moodle
This commit is contained in:
commit
74ede2d89a
@ -339,7 +339,7 @@ Y.extend(DRAGDROP, Y.Base, {
|
||||
*/
|
||||
find_element_text: function(n) {
|
||||
// The valid node types to get text from.
|
||||
var nodes = n.all('h2, h3, h4, h5, span, p, div.no-overflow, div.dimmed_text');
|
||||
var nodes = n.all('h2, h3, h4, h5, span:not(.actions):not(.menu-action-text), p, div.no-overflow, div.dimmed_text');
|
||||
var text = '';
|
||||
|
||||
nodes.each(function () {
|
||||
|
File diff suppressed because one or more lines are too long
@ -339,7 +339,7 @@ Y.extend(DRAGDROP, Y.Base, {
|
||||
*/
|
||||
find_element_text: function(n) {
|
||||
// The valid node types to get text from.
|
||||
var nodes = n.all('h2, h3, h4, h5, span, p, div.no-overflow, div.dimmed_text');
|
||||
var nodes = n.all('h2, h3, h4, h5, span:not(.actions):not(.menu-action-text), p, div.no-overflow, div.dimmed_text');
|
||||
var text = '';
|
||||
|
||||
nodes.each(function () {
|
||||
|
2
lib/yui/src/dragdrop/js/dragdrop.js
vendored
2
lib/yui/src/dragdrop/js/dragdrop.js
vendored
@ -337,7 +337,7 @@ Y.extend(DRAGDROP, Y.Base, {
|
||||
*/
|
||||
find_element_text: function(n) {
|
||||
// The valid node types to get text from.
|
||||
var nodes = n.all('h2, h3, h4, h5, span, p, div.no-overflow, div.dimmed_text');
|
||||
var nodes = n.all('h2, h3, h4, h5, span:not(.actions):not(.menu-action-text), p, div.no-overflow, div.dimmed_text');
|
||||
var text = '';
|
||||
|
||||
nodes.each(function () {
|
||||
|
Loading…
x
Reference in New Issue
Block a user