From f59686ebac87770409b1290eb4a600068bbaa302 Mon Sep 17 00:00:00 2001 From: sostler Date: Mon, 12 Apr 2010 04:37:06 -0400 Subject: Removed avatar url-setting --- static/js/pichat.js | 9 +-------- template/profile.st | 3 +-- 2 files changed, 2 insertions(+), 10 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, diff --git a/template/profile.st b/template/profile.st index dcf4497..2a65b36 100644 --- a/template/profile.st +++ b/template/profile.st @@ -39,12 +39,11 @@ $if(avatar)$ $else$ - + $endif$ $if(is_home)$ -- cgit v1.2.3-70-g09d2