support plaintext on editpost, editorinit called before all buttons laid out

This commit is contained in:
friendica 2012-02-17 11:49:27 -08:00
parent 184f6165fc
commit 75acc1ed96
7 changed files with 11 additions and 8 deletions

View file

@ -24,7 +24,6 @@
<img id="profile-jot-text-loading" src="images/rotator.gif" alt="$wait" title="$wait" style="display: none;" />
<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 }}
<div id="profile-jot-submit-wrapper" style="display:none">
@ -73,3 +72,4 @@
<div id="profile-jot-end"></div>
</form>
</div>
{{ if $content }}<script>initEditor();</script>{{ endif }}