Skip to content

Commit

Permalink
Merge branch 'MDL-46157-master' of git://github.com/cameron1729/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
danpoltawski committed Sep 22, 2015
2 parents a32cd74 + 9b5882d commit 74ede2d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Expand Up @@ -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 () {
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/yui/build/moodle-core-dragdrop/moodle-core-dragdrop.js
Expand Up @@ -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 () {
Expand Down
2 changes: 1 addition & 1 deletion lib/yui/src/dragdrop/js/dragdrop.js
Expand Up @@ -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 () {
Expand Down

0 comments on commit 74ede2d

Please sign in to comment.