diff options
author | friendica <info@friendica.com> | 2012-02-17 11:49:27 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-02-17 11:49:27 -0800 |
commit | 75acc1ed966a6bb3e3ec690a667d148f900dba9c (patch) | |
tree | 8302f99949a281e89566b5f6496b9129ba0ffc4e /view/jot.tpl | |
parent | 184f6165fc41d8dcbbecffa933f640995f741fda (diff) | |
download | volse-hubzilla-75acc1ed966a6bb3e3ec690a667d148f900dba9c.tar.gz volse-hubzilla-75acc1ed966a6bb3e3ec690a667d148f900dba9c.tar.bz2 volse-hubzilla-75acc1ed966a6bb3e3ec690a667d148f900dba9c.zip |
support plaintext on editpost, editorinit called before all buttons laid out
Diffstat (limited to 'view/jot.tpl')
-rwxr-xr-x | view/jot.tpl | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/view/jot.tpl b/view/jot.tpl index f116dc0f0..1c19dd6fa 100755 --- a/view/jot.tpl +++ b/view/jot.tpl @@ -13,9 +13,7 @@ <input type="hidden" name="preview" id="jot-preview" value="0" /> <textarea rows="5" cols="64" class="profile-jot-text" id="profile-jot-text" name="body" >{{ if $content }}$content{{ else }}$share{{ endif }}</textarea> - {{ if $content }}<script>initEditor();</script>{{ endif }} - - + <ul id="jot-tools" class="jothidden" style="display:none"> <li><a href="#" onclick="return false;" id="wall-image-upload" title="$upload">$shortupload</a></a></li> <li><a href="#" onclick="return false;" id="wall-file-upload" title="$attach">$shortattach</a></li> @@ -45,6 +43,7 @@ </form> +{{ if $content }}<script>initEditor();</script>{{ endif }} |