diff options
author | Friendika <info@friendika.com> | 2011-06-06 14:17:33 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-06-06 14:17:33 -0700 |
commit | ccf4e3eee5f01caad487cc42607c6cde710c4f5d (patch) | |
tree | 44732a2c92c480814773dc86cd81cbce0ef86485 /view/theme/dispy/jot-header.tpl | |
parent | c003eda17710f6818a47dbaca4e95a755fc8de39 (diff) | |
parent | a37a952f5b382f1d65575278ca6c43632ef7cfc3 (diff) | |
download | volse-hubzilla-ccf4e3eee5f01caad487cc42607c6cde710c4f5d.tar.gz volse-hubzilla-ccf4e3eee5f01caad487cc42607c6cde710c4f5d.tar.bz2 volse-hubzilla-ccf4e3eee5f01caad487cc42607c6cde710c4f5d.zip |
Merge branch 'pull'
Diffstat (limited to 'view/theme/dispy/jot-header.tpl')
-rw-r--r-- | view/theme/dispy/jot-header.tpl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/view/theme/dispy/jot-header.tpl b/view/theme/dispy/jot-header.tpl index 245957808..eab3af700 100644 --- a/view/theme/dispy/jot-header.tpl +++ b/view/theme/dispy/jot-header.tpl @@ -81,6 +81,17 @@ tinyMCE.init({ } } ); + var file_uploader = new window.AjaxUpload( + 'wall-file-upload', + { action: 'wall_attach/$nickname', + name: 'userfile', + onSubmit: function(file,ext) { $('#profile-rotator').show(); }, + onComplete: function(file,response) { + tinyMCE.execCommand('mceInsertRawHTML',false,response); + $('#profile-rotator').hide(); + } + } + ); $('#contact_allow, #contact_deny, #group_allow, #group_deny').change(function() { var selstr; $('#contact_allow option:selected, #contact_deny option:selected, #group_allow option:selected, #group_deny option:selected').each( function() { |