Skip to content
Snippets Groups Projects
Commit 22936c48 authored by Moritz Strohm's avatar Moritz Strohm
Browse files

made dialogs after file upload show in default size, re #1390

Merge request studip/studip!1021
parent 48ddebf2
No related branches found
No related tags found
No related merge requests found
......@@ -80,8 +80,11 @@ jQuery(document).on('ajaxComplete', (event, xhr) => {
console.log('Error parsing payload', e);
}
}
handler(values);
let options = {};
if (key === 'redirect') {
options.size = 'default';
}
handler(values, options);
}
process('added_files', STUDIP.Files.addFileDisplay);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment