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==
|
// ==/UserScript==
|
||||||
//
|
//
|
||||||
// TODO:
|
// TODO:
|
||||||
// test select boxes on result page
|
|
||||||
// grabboxes test on quiz page
|
// grabboxes test on quiz page
|
||||||
// image in questions sorted ! deleted ?
|
|
||||||
// image in question in general
|
|
||||||
|
|
||||||
(function() { // eslint-disable-line
|
(function() { // eslint-disable-line
|
||||||
// GM functions, only to disable ESLINT errors
|
// GM functions, only to disable ESLINT errors
|
||||||
@@ -66,7 +63,7 @@
|
|||||||
// forcing pages for testing. unless you test, do not set these to true!
|
// forcing pages for testing. unless you test, do not set these to true!
|
||||||
// only one of these should be true for testing
|
// only one of these should be true for testing
|
||||||
const forceTestPage = false
|
const forceTestPage = false
|
||||||
const forceResultPage = true
|
const forceResultPage = false
|
||||||
const forceDefaultPage = false
|
const forceDefaultPage = false
|
||||||
const logElementGetting = false
|
const logElementGetting = false
|
||||||
const log = true
|
const log = true
|
||||||
@@ -1448,8 +1445,7 @@
|
|||||||
sentData.data = newQuestions
|
sentData.data = newQuestions
|
||||||
sentData.version = info().script.version
|
sentData.version = info().script.version
|
||||||
sentData.id = GetId()
|
sentData.id = GetId()
|
||||||
console.log('SENT DATA') // TODO
|
Log('SENT DATA', sentData)
|
||||||
console.log(sentData)
|
|
||||||
SendXHRMessage('datatoadd=' + JSON.stringify(sentData))
|
SendXHRMessage('datatoadd=' + JSON.stringify(sentData))
|
||||||
sendSuccess = true
|
sendSuccess = true
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
Reference in New Issue
Block a user