mirror of
https://gitlab.com/MrFry/moodle-test-userscript
synced 2025-04-01 20:22:48 +02:00
displaying subject name in msgbox
This commit is contained in:
parent
490b309e47
commit
443203848c
1 changed files with 10 additions and 1 deletions
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name Moodle/Elearning/KMOOC test help
|
// @name Moodle/Elearning/KMOOC test help
|
||||||
// @version 2.0.1.12
|
// @version 2.0.1.13
|
||||||
// @description Online Moodle/Elearning/KMOOC test help
|
// @description Online Moodle/Elearning/KMOOC test help
|
||||||
// @author MrFry
|
// @author MrFry
|
||||||
// @match https://elearning.uni-obuda.hu/main/*
|
// @match https://elearning.uni-obuda.hu/main/*
|
||||||
|
@ -1383,6 +1383,15 @@
|
||||||
"\n\nKépek fenti válaszok sorrendjében: " +
|
"\n\nKépek fenti válaszok sorrendjében: " +
|
||||||
result[k].q.data.images.join(", "); // if it has image part, adding that too
|
result[k].q.data.images.join(", "); // if it has image part, adding that too
|
||||||
}
|
}
|
||||||
|
if (
|
||||||
|
result[k].detailedMatch &&
|
||||||
|
result[k].detailedMatch.matchedSubjName
|
||||||
|
) {
|
||||||
|
msg +=
|
||||||
|
"\n(Tárgy: " +
|
||||||
|
result[k].detailedMatch.matchedSubjName +
|
||||||
|
")";
|
||||||
|
}
|
||||||
allMessages.push({
|
allMessages.push({
|
||||||
m: msg,
|
m: msg,
|
||||||
p: result[k].match,
|
p: result[k].match,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue