diff --git a/app/views/profile/_profile_comment_form.rhtml b/app/views/profile/_profile_comment_form.rhtml index eb02453..f123135 100644 --- a/app/views/profile/_profile_comment_form.rhtml +++ b/app/views/profile/_profile_comment_form.rhtml @@ -2,7 +2,15 @@

<% form_remote_tag :url => {:controller => 'profile', :action => 'leave_comment_on_activity'}, :update => 'profile_activities', :html => { :class => 'profile-wall-reply-form' } do %> - <%= text_area :comment, :body, {:id => "reply_content_#{activity.id}", :cols => 50, :rows => 1, :class => 'submit-with-keypress', :title => _('Leave your comment'), :onfocus => ('if(this.value==this.title){this.value="";this.style.color="#000"};this.style.backgroundImage="url(' + current_person.profile_custom_icon + ')"' if logged_in?), :onblur => ('if(this.value==""){this.value=this.title;this.style.color="#ccc"};this.style.backgroundImage="none"' if logged_in?), :value => _('Leave your comment'), :style => 'color: #ccc' } %> + <%= text_area :comment, :body, {:id => "reply_content_#{activity.id}", + :cols => 50, + :rows => 1, + :class => 'submit-with-keypress', + :title => _('Leave your comment'), + :onfocus => ('if(this.value==this.title){this.value="";this.style.color="#000"};this.style.backgroundImage="url(' + profile_icon(current_person, :icon, false) + ')"' if logged_in?), + :onblur => ('if(this.value==""){this.value=this.title;this.style.color="#ccc"};this.style.backgroundImage="none"' if logged_in?), + :value => _('Leave your comment'), + :style => 'color: #ccc' } %> <%= hidden_field_tag :source_id, activity.id, :id => "activity_id_#{activity.id}" %> <% end %>

-- libgit2 0.21.2