mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-67473 mod_lti: deeplinking multiple support
AMOS BEGIN CPY [contentitem_help,mod_lti],[contentitem_deeplinking_help,mod_lti] AMOS END
This commit is contained in:
parent
5486b031ee
commit
957da4b564
15 changed files with 553 additions and 123 deletions
|
@ -97,8 +97,10 @@
|
|||
};
|
||||
|
||||
require(['mod_lti/contentitem'], function(contentitem) {
|
||||
contentitem.init(contentItemUrl, postData, function() {
|
||||
M.mod_lti.editor.toggleGradeSection();
|
||||
contentitem.init(contentItemUrl, postData, function(returnData) {
|
||||
if (!returnData.multiple) {
|
||||
M.mod_lti.editor.toggleGradeSection();
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue