Merge pull request #15226 from owncloud/fix-upload-placeholder
Fix placeholder in files upload
This commit is contained in:
commit
02ffc6c6ee
|
@ -596,7 +596,7 @@ OC.Upload = {
|
||||||
|
|
||||||
// add input field
|
// add input field
|
||||||
var form = $('<form></form>');
|
var form = $('<form></form>');
|
||||||
var input = $('<input type="text" placeholder="https://…">');
|
var input = $('<input type="text">');
|
||||||
var newName = $(this).attr('data-newname') || '';
|
var newName = $(this).attr('data-newname') || '';
|
||||||
var fileType = 'input-' + $(this).attr('data-type');
|
var fileType = 'input-' + $(this).attr('data-type');
|
||||||
if (newName) {
|
if (newName) {
|
||||||
|
|
Loading…
Reference in New Issue