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:
Submodule question-classes updated: 01b971b4c8...5dac788b18
@@ -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) {
|
||||
|
Reference in New Issue
Block a user