mirror of
https://github.com/moodle/moodle.git
synced 2025-08-11 03:46:42 +02:00
MDL-82360 courseformat: remove console upload error string debugging.
This commit is contained in:
parent
5aef789ac6
commit
314fcb3cf8
3 changed files with 3 additions and 3 deletions
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…
Add table
Add a link
Reference in a new issue