summaryrefslogtreecommitdiff
path: root/static/js/pichat.js
diff options
context:
space:
mode:
authorsostler <sbostler@gmail.com>2010-04-12 04:37:06 -0400
committersostler <sbostler@gmail.com>2010-04-12 04:37:06 -0400
commitf59686ebac87770409b1290eb4a600068bbaa302 (patch)
tree405f19092534580d692a57883943d105b5bf3276 /static/js/pichat.js
parentd9b9b36d433539d87a934069d1c78bfc4fbff04f (diff)
Removed avatar url-setting
Diffstat (limited to 'static/js/pichat.js')
-rw-r--r--static/js/pichat.js9
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,