mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
MDL-82360 courseformat: remove console upload error string debugging.
This commit is contained in:
parent
5aef789ac6
commit
314fcb3cf8
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -492,7 +492,7 @@ async function loadErrorStrings(courseId) {
|
|||||||
{key: 'dndupload', component: 'core_error'},
|
{key: 'dndupload', component: 'core_error'},
|
||||||
{key: 'dndunkownfile', component: 'core_error'},
|
{key: 'dndunkownfile', component: 'core_error'},
|
||||||
];
|
];
|
||||||
window.console.log(allStrings);
|
|
||||||
const loadedStrings = await getStrings(allStrings);
|
const loadedStrings = await getStrings(allStrings);
|
||||||
allStrings.forEach(({key}, index) => {
|
allStrings.forEach(({key}, index) => {
|
||||||
errors[key] = loadedStrings[index];
|
errors[key] = loadedStrings[index];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user