Commit 3bda463c9bbd849d0c2ab2421d3676aa41ee3cf3
1 parent
616fe8fe
Exists in
master
and in
29 other branches
Fixing problem
Showing
1 changed file
with
6 additions
and
1 deletions
Show diff stats
app/views/profile/_profile_comment_form.rhtml
@@ -2,7 +2,12 @@ | @@ -2,7 +2,12 @@ | ||
2 | <div id='profile-wall-reply-form-<%= activity.id%>'> | 2 | <div id='profile-wall-reply-form-<%= activity.id%>'> |
3 | <p class='profile-wall-reply'> | 3 | <p class='profile-wall-reply'> |
4 | <% form_remote_tag :url => {:controller => 'profile', :action => 'leave_comment_on_activity'}, :update => 'profile_activities', :html => { :class => 'profile-wall-reply-form' } do %> | 4 | <% form_remote_tag :url => {:controller => 'profile', :action => 'leave_comment_on_activity'}, :update => 'profile_activities', :html => { :class => 'profile-wall-reply-form' } do %> |
5 | - <%= 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 + ')"', :onblur => 'if(this.value==""){this.value=this.title;this.style.color="#ccc"};this.style.backgroundImage="none"', :value => _('Leave your comment'), :style => 'color: #ccc' } %> | 5 | + <%= text_area :comment, :body, {:id => "reply_content_#{activity.id}", :cols => 50, :rows => 1, :class => 'submit-with-keypress', :title => _('Leave your comment'), |
6 | + :onfocus => 'if(this.value==this.title){this.value="";this.style.color="#000"}', | ||
7 | + :onblur => 'if(this.value==""){this.value=this.title;this.style.color="#ccc"}', :value => _('Leave your comment'), :style => 'color: #ccc' } %> | ||
8 | + <%#= text_area :comment, :body, {:id => "reply_content_#{activity.id}", :cols => 50, :rows => 1, :class => 'submit-with-keypress', :title => _('Leave your comment'), | ||
9 | + :onfocus => 'if(this.value==this.title){this.value="";this.style.color="#000"};this.style.backgroundImage="url(' + current_person.profile_custom_icon + ')"', | ||
10 | + :onblur => 'if(this.value==""){this.value=this.title;this.style.color="#ccc"};this.style.backgroundImage="none"', :value => _('Leave your comment'), :style => 'color: #ccc' } %> | ||
6 | <%= hidden_field_tag :source_id, activity.id, :id => "activity_id_#{activity.id}" %> | 11 | <%= hidden_field_tag :source_id, activity.id, :id => "activity_id_#{activity.id}" %> |
7 | <% end %> | 12 | <% end %> |
8 | </p> | 13 | </p> |