Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
3.7.1
-
None
-
MOODLE_37_STABLE
Description
Using the assign activity, whenever the teacher leaves enough feedback to a submission, the section will be contracted, but the link on the expand '+' button does not work on Safari upon page loading.
However, if we execute on the console:
$('.expandsummaryicon')[0].click(); |
The contract '-' and the expand '+' links start working normally.
This behavior is found Safari for IOS as well as MacOS. On the other browsers it works as intended.
Tried fixes:
On the file: mod/assign/renderer.php
There were 2 lines with this exact same call:
$this->page->requires->js_init_call('M.mod_assign.init_plugin_summary', $jsparams); |
Those were changed to this:
$this->page->requires->js_init_call('M.mod_assign.init_plugin_summary', $jsparams, true); |
Adding the 3rd parameter which sets the ondomready value to true. but the behavior did not change and the Safari error remains.
Please help!
Best regards
Felice
PS: To contract the feedback via JS console on the navigator, you can execute:
$('.expandsummaryicon')[1].click(); |
Attachments
Issue Links
- duplicates
-
MDL-67442 Assignment online text and feedback comments don't expand using Safari
-
- Closed
-