File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed
code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer
design/adminhtml/default/default/template/widget
skin/adminhtml/default/default Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -124,8 +124,7 @@ public function renderHeader()
124
124
if ($ this ->getColumn ()->getDir ()) {
125
125
$ className = 'sort-arrow- ' . $ dir ;
126
126
}
127
- $ out = '<a href="#" name=" ' . $ this ->getColumn ()->getId () . '" title=" ' . $ nDir
128
- . '" class=" ' . $ className . '"><span class="sort-title"> '
127
+ $ out = '<a href="#" title=" ' . $ nDir . '" class=" ' . $ className . '"><span class="sort-title"> '
129
128
. $ this ->escapeHtml ($ this ->getColumn ()->getHeader ()) . '</span></a> ' ;
130
129
} else {
131
130
$ out = $ this ->escapeHtml ($ this ->getColumn ()->getHeader ());
Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ $numColumns = count($this->getColumns());
114
114
<?php if ($ this ->getHeadersVisibility ()): ?>
115
115
<tr class="headings">
116
116
<?php foreach ($ this ->getColumns () as $ _column ): ?>
117
- <th<?php echo $ _column ->getHeaderHtmlProperty () ?> ><span class="nobr "><?php echo $ _column ->getHeaderHtml () ?> </span ></th>
117
+ <th<?php echo $ _column ->getHeaderHtmlProperty () ?> data-column-id=" <?php echo $ _column -> getId () ?> "><?php echo $ _column ->getHeaderHtml () ?> </th>
118
118
<?php endforeach ?>
119
119
</tr>
120
120
<?php endif ?>
Original file line number Diff line number Diff line change @@ -159,10 +159,9 @@ table.actions td { vertical-align:top; }
159
159
160
160
/* Grid - Headings */
161
161
.grid tr .headings { background : url (images/sort_row_bg.gif) 0 50% repeat-x; }
162
- .grid tr .headings th { border-width : 1px ; border-color : # f9f9f9 # d1cfcf # f9f9f9 # f9f9f9 ; border-style : solid; padding-top : 1px ; padding-bottom : 0 ; font-size : .9em ; }
162
+ .grid tr .headings th { border-width : 1px ; border-color : # f9f9f9 # d1cfcf # f9f9f9 # f9f9f9 ; border-style : solid; padding-top : 1px ; padding-bottom : 0 ; font-size : .9em ; white-space : nowrap; }
163
163
.grid tr .headings th .last { border-right : 0 ; }
164
164
.grid tr .headings th .no-link { /* Grid th with no sorting functionality */ padding-top : 2px ; padding-bottom : 1px ; color : # 67767e ; }
165
- .grid tr .headings th span .nobr { display : block; /* FF3 fix */ }
166
165
.grid tr .headings th a { display : block; padding : 2px 4px 1px 0 ; color : # 2d444f ; text-decoration : none; }
167
166
.grid tr .headings th a : hover { color : # d85909 ; text-decoration : none; }
168
167
.grid tr .headings th a .sort-arrow-desc ,
You can’t perform that action at this time.
0 commit comments