Skip to content

Commit

Permalink
Merge branch 'MDL-42395_master' of git://github.com/markn86/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
danpoltawski committed Feb 1, 2016
2 parents 8988171 + 635166b commit 3bb9f37
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,17 @@ var CSS = {
panel.set('aria-live', 'polite');

wrapper.addClass(CSS.LINK);
wrapper.addClass(CSS.CLOSED);
if (COUNT == 1) {
wrapper.addClass(CSS.OPEN);
} else {
wrapper.addClass(CSS.CLOSED);
}
panel.addClass(CSS.PANEL);
panel.hide();
if (COUNT == 1) {
panel.show();
} else {
panel.hide();
}
link = null;
} else {
link = this;
Expand Down

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

Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,17 @@ var CSS = {
panel.set('aria-live', 'polite');

wrapper.addClass(CSS.LINK);
wrapper.addClass(CSS.CLOSED);
if (COUNT == 1) {
wrapper.addClass(CSS.OPEN);
} else {
wrapper.addClass(CSS.CLOSED);
}
panel.addClass(CSS.PANEL);
panel.hide();
if (COUNT == 1) {
panel.show();
} else {
panel.hide();
}
link = null;
} else {
link = this;
Expand Down
12 changes: 10 additions & 2 deletions mod/assign/yui/src/history/js/history.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,17 @@ var CSS = {
panel.set('aria-live', 'polite');

wrapper.addClass(CSS.LINK);
wrapper.addClass(CSS.CLOSED);
if (COUNT == 1) {
wrapper.addClass(CSS.OPEN);
} else {
wrapper.addClass(CSS.CLOSED);
}
panel.addClass(CSS.PANEL);
panel.hide();
if (COUNT == 1) {
panel.show();
} else {
panel.hide();
}
link = null;
} else {
link = this;
Expand Down

0 comments on commit 3bb9f37

Please sign in to comment.