aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/jot.tpl
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-07-13 17:04:58 -0700
committerzotlabs <mike@macgirvin.com>2017-07-13 17:04:58 -0700
commitc940d8d7ca25691519d400ad19aa22b5611fc2e7 (patch)
treeb33805ab6561bc312845be52c9eb0a141e60912a /view/tpl/jot.tpl
parentaa70cbbf21950e37ab9b5198de76ded0f1c8351d (diff)
downloadvolse-hubzilla-c940d8d7ca25691519d400ad19aa22b5611fc2e7.tar.gz
volse-hubzilla-c940d8d7ca25691519d400ad19aa22b5611fc2e7.tar.bz2
volse-hubzilla-c940d8d7ca25691519d400ad19aa22b5611fc2e7.zip
implement chunked uploads on the wall; making it work painlessly on /cloud was attempted but will not be implemented today. That presents some interesting dragons to slay.
Diffstat (limited to 'view/tpl/jot.tpl')
-rwxr-xr-xview/tpl/jot.tpl3
1 files changed, 2 insertions, 1 deletions
diff --git a/view/tpl/jot.tpl b/view/tpl/jot.tpl
index dbbb470c5..cf99ede42 100755
--- a/view/tpl/jot.tpl
+++ b/view/tpl/jot.tpl
@@ -1,3 +1,4 @@
+<input id="invisible-wall-file-upload" type="file" name="files" style="visibility:hidden;position:absolute;top:-50;left:-50;width:0;height:0;" multiple>
<form id="profile-jot-form" action="{{$action}}" method="post" class="acl-form" data-form_id="profile-jot-form" data-allow_cid='{{$allow_cid}}' data-allow_gid='{{$allow_gid}}' data-deny_cid='{{$deny_cid}}' data-deny_gid='{{$deny_gid}}'>
{{$mimeselect}}
{{$layoutselect}}
@@ -39,7 +40,7 @@
</div>
{{/if}}
<div id="jot-text-wrap">
- <textarea class="profile-jot-text" id="profile-jot-text" name="body" tabindex="2" placeholder="{{$share}}" ondragenter="linkdropper(event);" ondragover="linkdropper(event);" ondrop="linkdrop(event);" >{{$content}}</textarea>
+ <textarea class="profile-jot-text" id="profile-jot-text" name="body" tabindex="2" placeholder="{{$share}}" >{{$content}}</textarea>
</div>
{{if $attachment}}
<div id="jot-attachment-wrap">