custom sample url for upload widget
This commit is contained in:
parent
8629eeff10
commit
46fa6f147d
1 changed files with 3 additions and 1 deletions
|
|
@ -9,7 +9,9 @@ wn.upload = {
|
|||
Upload a file:<br>\
|
||||
<input type="file" name="filedata" /><br><br>\
|
||||
OR:<br><input type="text" name="file_url" /><br>\
|
||||
<p class="help">e.g. http://example.com/somefile.png</p><br>\
|
||||
<p class="help">'
|
||||
+ (opts.sample_url || 'e.g. http://example.com/somefile.png')
|
||||
+ '</p><br>\
|
||||
<input type="submit" class="btn" value="Attach" />\
|
||||
</form>', {
|
||||
id: id,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue