aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authormarijus <mario@localhost.localdomain>2013-11-13 17:04:14 +0100
committermarijus <mario@localhost.localdomain>2013-11-13 17:04:14 +0100
commit71fb7f3edf014621b0f7de48dac86fd30bd0796a (patch)
tree4e499af061fc873998cec5eaf55ecd442ffb9933 /view
parent71d864f28310d35b683e8f024c7dc5af586f486f (diff)
parent251ba6db30d9f75d1e9e03e5bed6c5dec2c4402b (diff)
downloadvolse-hubzilla-71fb7f3edf014621b0f7de48dac86fd30bd0796a.tar.gz
volse-hubzilla-71fb7f3edf014621b0f7de48dac86fd30bd0796a.tar.bz2
volse-hubzilla-71fb7f3edf014621b0f7de48dac86fd30bd0796a.zip
Merge branch 'master' of https://github.com/friendica/red
Diffstat (limited to 'view')
-rwxr-xr-xview/tpl/jot-header.tpl2
-rwxr-xr-xview/tpl/jot.tpl1
2 files changed, 3 insertions, 0 deletions
diff --git a/view/tpl/jot-header.tpl b/view/tpl/jot-header.tpl
index 97c638fd4..1ceca04c6 100755
--- a/view/tpl/jot-header.tpl
+++ b/view/tpl/jot-header.tpl
@@ -120,6 +120,7 @@ function enableOnUser(){
onSubmit: function(file,ext) { $('#profile-rotator').spin('tiny'); },
onComplete: function(file,response) {
addeditortext(response);
+ $('#jot-media').val($('#jot-media').val() + response);
$('#profile-rotator').spin(false);
}
}
@@ -131,6 +132,7 @@ function enableOnUser(){
onSubmit: function(file,ext) { $('#profile-rotator').spin('tiny'); },
onComplete: function(file,response) {
addeditortext(response);
+ $('#jot-media').val($('#jot-media').val() + response);
$('#profile-rotator').spin(false);
}
}
diff --git a/view/tpl/jot.tpl b/view/tpl/jot.tpl
index 924f7d9bc..cf65b976e 100755
--- a/view/tpl/jot.tpl
+++ b/view/tpl/jot.tpl
@@ -6,6 +6,7 @@
<input type="hidden" name="return" value="{{$return_path}}" />
<input type="hidden" name="location" id="jot-location" value="{{$defloc}}" />
<input type="hidden" name="expire" id="jot-expire" value="{{$defexpire}}" />
+ <input type="hidden" name="media_str" id="jot-media" value="" />
<input type="hidden" name="coord" id="jot-coord" value="" />
<input type="hidden" name="post_id" value="{{$post_id}}" />
<input type="hidden" name="webpage" value="{{$webpage}}" />