pass the original element title through the element stack so that it we don't lose it in the ajaxuploader.

This commit is contained in:
friendica
2014-04-07 17:34:53 -07:00
parent 03753f463e
commit 28228f5862
2 changed files with 8 additions and 0 deletions

View File

@@ -264,6 +264,9 @@
action: 'upload.php',
// File upload name
name: 'userfile',
title: 'Upload',
// Additional data to send
data: {},
// Submit file as soon as it's selected
@@ -380,6 +383,7 @@
var input = document.createElement("input");
input.setAttribute('type', 'file');
input.setAttribute('title',this._settings.title);
input.setAttribute('name', this._settings.name);
addStyles(input, {