aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/jot-header.tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-04-16 23:26:11 +0200
committerMario Vavti <mario@mariovavti.com>2015-04-16 23:26:11 +0200
commit9addc4581edf594996151eaf514927d271f04da5 (patch)
tree26abc7f97994ee66c103ba6ded0c75168fbb1f6b /view/tpl/jot-header.tpl
parent90d3a6c02dd12317c72ad790a1b6810f885f638c (diff)
downloadvolse-hubzilla-9addc4581edf594996151eaf514927d271f04da5.tar.gz
volse-hubzilla-9addc4581edf594996151eaf514927d271f04da5.tar.bz2
volse-hubzilla-9addc4581edf594996151eaf514927d271f04da5.zip
provide a separate input field for rpost attachments
Diffstat (limited to 'view/tpl/jot-header.tpl')
-rwxr-xr-xview/tpl/jot-header.tpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/view/tpl/jot-header.tpl b/view/tpl/jot-header.tpl
index 0ffed7163..f9ce65a86 100755
--- a/view/tpl/jot-header.tpl
+++ b/view/tpl/jot-header.tpl
@@ -107,6 +107,9 @@ function enableOnUser(){
/* enable tinymce on focus and click */
$("#profile-jot-text").focus(enableOnUser);
$("#profile-jot-text").click(enableOnUser);
+
+ if($("#jot-attachment").val()) enableOnUser();
+
var upload_title = $('#wall-image-upload').attr('title');
var attach_title = $('#wall-file-upload').attr('title');
try {