mirror of https://github.com/JohnHammond/CTFd.git
Fix media library refresh on upload (#1319)
parent
4b6c9ec8bd
commit
05e5730c54
|
@ -195,7 +195,7 @@ function preview_page() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function upload_media() {
|
function upload_media() {
|
||||||
helpers.files.upload($("#media-library-upload"), function(data) {
|
helpers.files.upload($("#media-library-upload"), {}, function(data) {
|
||||||
refresh_files();
|
refresh_files();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue