Commit 73d38a3bcf21f2a72d7f990637fa6f5477b15877

Authored by Daniela Feitosa
1 parent 86f0471d

Small fixes for IE

Fixed js error on IE by adding quotes on attr parameters
Set height on wrap-2 in IE7
plugins/google_cse/views/search-box.rhtml
1 <script type="text/javascript"> 1 <script type="text/javascript">
2 jQuery(function($) { 2 jQuery(function($) {
3 $('<%= locals[:selector] %>') 3 $('<%= locals[:selector] %>')
4 - .attr({class: "cse-search-box", action: "<%= GoogleCsePlugin.results_url_path %>"}) 4 + .attr({'class': "cse-search-box", 'action': "<%= GoogleCsePlugin.results_url_path %>"})
5 .append('<input type="hidden" name="cx" value="<%= locals[:plugin].google_id %>" /><input type="hidden" name="cof" value="FORID:10" /><input type="hidden" name="ie" value="UTF-8" /><input type="hidden" name="siteurl" value="<%= context.environment.default_hostname %>">') 5 .append('<input type="hidden" name="cx" value="<%= locals[:plugin].google_id %>" /><input type="hidden" name="cof" value="FORID:10" /><input type="hidden" name="ie" value="UTF-8" /><input type="hidden" name="siteurl" value="<%= context.environment.default_hostname %>">')
6 .children("input[name='query']") 6 .children("input[name='query']")
7 .attr('name', 'q') 7 .attr('name', 'q')
public/designs/themes/base/style.css
@@ -63,6 +63,10 @@ body, th, td, input { @@ -63,6 +63,10 @@ body, th, td, input {
63 background-color: white; 63 background-color: white;
64 } 64 }
65 65
  66 +.msie7 #wrap-2 {
  67 + height: 100%;
  68 +}
  69 +
66 #content { 70 #content {
67 margin-top: 105px; 71 margin-top: 105px;
68 } 72 }
@@ -632,13 +636,6 @@ div#notice { @@ -632,13 +636,6 @@ div#notice {
632 height: auto; 636 height: auto;
633 } 637 }
634 638
635 -.communities-block .vcard a {  
636 - clear: left;  
637 - text-align: left;  
638 - padding-bottom: 3px;  
639 - width: 99%;  
640 - height: auto;  
641 -}  
642 .msie7 .communities-block .common-profile-list-block .vcard a { 639 .msie7 .communities-block .common-profile-list-block .vcard a {
643 height: auto; 640 height: auto;
644 width: 99%; 641 width: 99%;