mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-07-04 15:39:44 +02:00
Merge remote-tracking branch 'origin/1.9' into 1.9
This commit is contained in:
@@ -243,7 +243,7 @@ export default class FilesField {
|
||||
|
||||
onDropzoneRemovedFile(file, ...extra) {
|
||||
if (!file.accepted || file.rejected) { return; }
|
||||
let url = file.removeUrl || this.urls.delete;
|
||||
let url = file.removeUrl || this.urls.delete || this.options.url;
|
||||
let path = (url || '').match(/path:(.*)\//);
|
||||
let body = { filename: file.name, uri: this.getURI() };
|
||||
|
||||
|
||||
18
themes/grav/js/admin.min.js
vendored
18
themes/grav/js/admin.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user