diff options
author | friendica <info@friendica.com> | 2013-12-11 15:32:25 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-12-11 15:32:25 -0800 |
commit | c57b6745e8d7222d9cecfb04cd81c9ef7eb25d05 (patch) | |
tree | cc9eef5ea3c6676cd537f2f89776ab6d3c835db1 /view/tpl/notes.tpl | |
parent | 2c02f57f276658269a6cc2031fb0fc9ac0a9077c (diff) | |
parent | 06c81e189f031a74c54aa14b1f29c93379e7cf3c (diff) | |
download | volse-hubzilla-c57b6745e8d7222d9cecfb04cd81c9ef7eb25d05.tar.gz volse-hubzilla-c57b6745e8d7222d9cecfb04cd81c9ef7eb25d05.tar.bz2 volse-hubzilla-c57b6745e8d7222d9cecfb04cd81c9ef7eb25d05.zip |
Merge https://github.com/friendica/red into zpull
Conflicts:
view/theme/redbasic/css/style.css
Diffstat (limited to 'view/tpl/notes.tpl')
-rw-r--r-- | view/tpl/notes.tpl | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/view/tpl/notes.tpl b/view/tpl/notes.tpl index 7300779f4..09932e545 100644 --- a/view/tpl/notes.tpl +++ b/view/tpl/notes.tpl @@ -1,13 +1,10 @@ <div class="widget"> <script> -function notePost() { - $('#note-rotator').spin('tiny'); - $.post('notes', { 'note_text' : $('#note-text').val() },function(data) { $('#note-rotator').spin(false); }); -} +$("#note-text").live('input paste',function(e){ + $.post('notes', { 'note_text' : $('#note-text').val() }); +}); </script> <h3>{{$banner}}</h3> <textarea name="note_text" id="note-text">{{$text}}</textarea> -<input type="submit" name="submit" id="note-save" value="{{$save}}" onclick="notePost(); return true;"> -<div id="note-rotator"></div> </div> |