aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/jot-header.tpl
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-08-09 18:13:54 -0700
committerredmatrix <git@macgirvin.com>2016-08-09 18:13:54 -0700
commit12162f53b443a3f794416002e1d9af0d57690b39 (patch)
tree4aef592750c09b43589885e6a0133e74dd9ccc20 /view/tpl/jot-header.tpl
parentec3ca11d0d515f29e1babac8edb356d8cc8ab981 (diff)
downloadvolse-hubzilla-12162f53b443a3f794416002e1d9af0d57690b39.tar.gz
volse-hubzilla-12162f53b443a3f794416002e1d9af0d57690b39.tar.bz2
volse-hubzilla-12162f53b443a3f794416002e1d9af0d57690b39.zip
You can drag links to the editor (which will be parsed and inserted); as well as files (which will be uploaded)
Diffstat (limited to 'view/tpl/jot-header.tpl')
-rwxr-xr-xview/tpl/jot-header.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/jot-header.tpl b/view/tpl/jot-header.tpl
index c0d524764..85ce9dad8 100755
--- a/view/tpl/jot-header.tpl
+++ b/view/tpl/jot-header.tpl
@@ -268,7 +268,6 @@ function enableOnUser(){
function linkdrop(event) {
var reply = event.dataTransfer.getData("text/uri-list");
- event.target.textContent = reply;
event.preventDefault();
if(reply && reply.length) {
reply = bin2hex(reply);
@@ -489,6 +488,7 @@ function enableOnUser(){
// cancel event and hover styling
DragDropUploadFileHover(e);
+
// fetch FileList object
var files = e.target.files || e.originalEvent.dataTransfer.files;
// process all File objects