Skip to content
Snippets Groups Projects
Commit 511fd613 authored by Moritz Strohm's avatar Moritz Strohm Committed by David Siegfried
Browse files

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

Merge request studip/studip!1021
parent 068330fc
No related branches found
No related tags found
No related merge requests found
......@@ -76,8 +76,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.
Finish editing this message first!
Please register or to comment