Fixed url drag and drop link import
This commit is contained in:
parent
3458b27105
commit
ec4842cad5
BIN
dist/main.css
vendored
BIN
dist/main.css
vendored
Binary file not shown.
BIN
dist/main.js
vendored
BIN
dist/main.js
vendored
Binary file not shown.
@ -234,9 +234,10 @@ upload.start = {
|
||||
|
||||
},
|
||||
|
||||
url: function() {
|
||||
url: function(url = '') {
|
||||
|
||||
var albumID = album.getID(),
|
||||
var albumID = album.getID(),
|
||||
url = (typeof url === 'string' ? url : ''),
|
||||
action;
|
||||
|
||||
if (albumID===false) albumID = 0;
|
||||
@ -293,7 +294,7 @@ upload.start = {
|
||||
}
|
||||
|
||||
basicModal.show({
|
||||
body: "<p>Please enter the direct link to a photo to import it: <input class='text' data-name='link' type='text' placeholder='http://' value=''></p>",
|
||||
body: "<p>Please enter the direct link to a photo to import it: <input class='text' data-name='link' type='text' placeholder='http://' value='" + url + "'></p>",
|
||||
buttons: {
|
||||
action: {
|
||||
title: 'Import',
|
||||
|
Loading…
Reference in New Issue
Block a user