Commit 2234c20e9443ce4f609b2ab0cf5a4d22e86ef974
1 parent
5cacb983
Exists in
master
and in
23 other branches
profile-wall: temporary fix to scrap box growing indefinetely
This problem was properly fixed on: http://noosfero.org/Development/ActionItem3136
Showing
2 changed files
with
4 additions
and
2 deletions
Show diff stats
public/javascripts/application.js
| @@ -675,7 +675,8 @@ function hide_and_show(hide_elements, show_elements) { | @@ -675,7 +675,8 @@ function hide_and_show(hide_elements, show_elements) { | ||
| 675 | 675 | ||
| 676 | function limited_text_area(textid, limit) { | 676 | function limited_text_area(textid, limit) { |
| 677 | var text = jQuery('#' + textid).val(); | 677 | var text = jQuery('#' + textid).val(); |
| 678 | - grow_text_area(textid); | 678 | + // FIXME This will be fixed by: http://noosfero.org/Development/ActionItem3136 |
| 679 | + //grow_text_area(textid); | ||
| 679 | var textlength = text.length; | 680 | var textlength = text.length; |
| 680 | jQuery('#' + textid + '_left span').html(limit - textlength); | 681 | jQuery('#' + textid + '_left span').html(limit - textlength); |
| 681 | if (textlength > limit) { | 682 | if (textlength > limit) { |
| @@ -1101,4 +1102,4 @@ jQuery(document).ready(function(){ | @@ -1101,4 +1102,4 @@ jQuery(document).ready(function(){ | ||
| 1101 | jQuery("#article_has_terms_of_use").click(function(){ | 1102 | jQuery("#article_has_terms_of_use").click(function(){ |
| 1102 | showHideTermsOfUse(); | 1103 | showHideTermsOfUse(); |
| 1103 | }); | 1104 | }); |
| 1104 | -}); | ||
| 1105 | \ No newline at end of file | 1105 | \ No newline at end of file |
| 1106 | +}); |
public/stylesheets/application.css
| @@ -5885,6 +5885,7 @@ li.profile-activity-item.upload_image .activity-gallery-images-count-1 img { | @@ -5885,6 +5885,7 @@ li.profile-activity-item.upload_image .activity-gallery-images-count-1 img { | ||
| 5885 | 5885 | ||
| 5886 | #profile-wall #leave_scrap textarea { | 5886 | #profile-wall #leave_scrap textarea { |
| 5887 | width: 442px; | 5887 | width: 442px; |
| 5888 | + height: 100px | ||
| 5888 | } | 5889 | } |
| 5889 | .profile-wall-scrap-replies { | 5890 | .profile-wall-scrap-replies { |
| 5890 | width: 100%; | 5891 | width: 100%; |