Bug #20828 » 0011640_v2.diff
t3lib/jsfunc.inline.js | ||
---|---|---|
if (!records[i].length) continue;
|
||
headerObj = $(objectPrefix+'['+records[i]+']_header');
|
||
sortingObj[0] = Element.select(headerObj, '.sortingUp');
|
||
sortingObj[1] = Element.select(headerObj, '.sortingDown');
|
||
if (navigator.userAgent.indexOf('Firefox/3.5') != -1) {
|
||
sortingObj[0] = headerObj.querySelector('.sortingUp');
|
||
sortingObj[1] = headerObj.querySelector('.sortingDown');
|
||
} else {
|
||
sortingObj[0] = Element.select(headerObj, '.sortingUp')[0];
|
||
sortingObj[1] = Element.select(headerObj, '.sortingDown')[0];
|
||
}
|
||
if (sortingObj[0].length) {
|
||
sortingObj[0][0].style.visibility = (i == 0 ? 'hidden' : 'visible');
|
||
if (sortingObj[0]) {
|
||
sortingObj[0].style.visibility = (i == 0 ? 'hidden' : 'visible');
|
||
}
|
||
if (sortingObj[1].length) {
|
||
sortingObj[1][0].style.visibility = (i == records.length-1 ? 'hidden' : 'visible');
|
||
if (sortingObj[1]) {
|
||
sortingObj[1].style.visibility = (i == records.length-1 ? 'hidden' : 'visible');
|
||
}
|
||
}
|
||
},
|
- « Previous
- 1
- 2
- 3
- Next »