Skip to content

Commit

Permalink
MDL-37453 fixing regression from MDL-36550 - label show/hide in AJAX …
Browse files Browse the repository at this point in the history
…works incorrectly
  • Loading branch information
marinaglancy committed Jan 14, 2013
1 parent ca48fe5 commit 7b59f5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion course/yui/toolboxes/toolboxes.js
Expand Up @@ -64,7 +64,7 @@ YUI.add('moodle-course-toolboxes', function(Y) {
var toggle_class; var toggle_class;
if (this.is_label(element)) { if (this.is_label(element)) {
toggle_class = CSS.DIMMEDTEXT; toggle_class = CSS.DIMMEDTEXT;
dimarea = element.one(CSS.MODINDENTDIV + ' div'); dimarea = element.all(CSS.MODINDENTDIV + ' > div').item(1);
} else { } else {
toggle_class = CSS.DIMCLASS; toggle_class = CSS.DIMCLASS;
dimarea = element.one('a'); dimarea = element.one('a');
Expand Down

0 comments on commit 7b59f5b

Please sign in to comment.