mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
Merge branch 'MDL-35978-master-blockfix' of https://github.com/snake/moodle
This commit is contained in:
commit
88107dc944
1 changed files with 6 additions and 2 deletions
|
@ -358,7 +358,9 @@ M.core_comment = {
|
||||||
if (img) {
|
if (img) {
|
||||||
img.set('src', M.util.image_url('t/expanded', 'core'));
|
img.set('src', M.util.image_url('t/expanded', 'core'));
|
||||||
}
|
}
|
||||||
|
if (commenttoggler) {
|
||||||
commenttoggler.setAttribute('aria-expanded', 'true');
|
commenttoggler.setAttribute('aria-expanded', 'true');
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
// hide
|
// hide
|
||||||
container.setStyle('display', 'none');
|
container.setStyle('display', 'none');
|
||||||
|
@ -372,8 +374,10 @@ M.core_comment = {
|
||||||
if (ta) {
|
if (ta) {
|
||||||
ta.set('value','');
|
ta.set('value','');
|
||||||
}
|
}
|
||||||
|
if (commenttoggler) {
|
||||||
commenttoggler.setAttribute('aria-expanded', 'false');
|
commenttoggler.setAttribute('aria-expanded', 'false');
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if (ta) {
|
if (ta) {
|
||||||
//toggle_textarea.apply(ta, [false]);
|
//toggle_textarea.apply(ta, [false]);
|
||||||
//// reset textarea size
|
//// reset textarea size
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue