Skip to content
Snippets Groups Projects
Commit 5d11f4d4 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 d6889b9e
No related branches found
No related tags found
No related merge requests found
...@@ -80,8 +80,11 @@ jQuery(document).on('ajaxComplete', (event, xhr) => { ...@@ -80,8 +80,11 @@ jQuery(document).on('ajaxComplete', (event, xhr) => {
} catch (e) { } catch (e) {
} }
} }
let options = {};
handler(values); if (key === 'redirect') {
options.size = 'default';
}
handler(values, options);
} }
process('added_files', STUDIP.Files.addFileDisplay); 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