diff options
| author | sostler <sbostler@gmail.com> | 2010-04-12 04:37:06 -0400 |
|---|---|---|
| committer | sostler <sbostler@gmail.com> | 2010-04-12 04:37:06 -0400 |
| commit | f59686ebac87770409b1290eb4a600068bbaa302 (patch) | |
| tree | 405f19092534580d692a57883943d105b5bf3276 /static/js | |
| parent | d9b9b36d433539d87a934069d1c78bfc4fbff04f (diff) | |
Removed avatar url-setting
Diffstat (limited to 'static/js')
| -rw-r--r-- | static/js/pichat.js | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/static/js/pichat.js b/static/js/pichat.js index 46ae121..9ffcae1 100644 --- a/static/js/pichat.js +++ b/static/js/pichat.js @@ -445,14 +445,7 @@ function activateProfileEditable() { return escapeHtml(newVal); }; - var avatarOpts = { 'default_text': 'Paste URL here!', - 'callback': onSubmit, - 'field_type': 'text', - 'callbackShowErrors': false }; - if ($('#avatar.editable').length > 0) { - $('#avatar.editable').editInPlace(avatarOpts); - setupUploadAvatar('upload'); - } + setupUploadAvatar('upload'); var textareaOpts = { 'default_text': 'Enter here!', 'callback': onSubmit, |
