mirror of
https://gitlab.com/MrFry/moodle-test-userscript
synced 2025-04-01 20:22:48 +02:00
todo removes, minor tidy
This commit is contained in:
parent
ba9f812041
commit
05508571e6
2 changed files with 3 additions and 7 deletions
|
@ -1 +1 @@
|
|||
Subproject commit 01b971b4c875a4be8b7a8c6dcdd58b2d83761f9d
|
||||
Subproject commit 5dac788b18b7240a4194a2a37ecbee857292800d
|
|
@ -41,10 +41,7 @@
|
|||
// ==/UserScript==
|
||||
//
|
||||
// TODO:
|
||||
// test select boxes on result page
|
||||
// grabboxes test on quiz page
|
||||
// image in questions sorted ! deleted ?
|
||||
// image in question in general
|
||||
|
||||
(function() { // eslint-disable-line
|
||||
// GM functions, only to disable ESLINT errors
|
||||
|
@ -66,7 +63,7 @@
|
|||
// forcing pages for testing. unless you test, do not set these to true!
|
||||
// only one of these should be true for testing
|
||||
const forceTestPage = false
|
||||
const forceResultPage = true
|
||||
const forceResultPage = false
|
||||
const forceDefaultPage = false
|
||||
const logElementGetting = false
|
||||
const log = true
|
||||
|
@ -1448,8 +1445,7 @@
|
|||
sentData.data = newQuestions
|
||||
sentData.version = info().script.version
|
||||
sentData.id = GetId()
|
||||
console.log('SENT DATA') // TODO
|
||||
console.log(sentData)
|
||||
Log('SENT DATA', sentData)
|
||||
SendXHRMessage('datatoadd=' + JSON.stringify(sentData))
|
||||
sendSuccess = true
|
||||
} catch (e) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue