[evolvis-commits] r18461: another case of M*zilla Firef*x displaying too many borders
mirabilos at evolvis.org
mirabilos at evolvis.org
Tue Jun 26 16:05:02 CEST 2012
Author: mirabilos
Date: 2012-06-26 16:05:02 +0200 (Tue, 26 Jun 2012)
New Revision: 18461
Modified:
trunk/gforge_base/evolvisforge-5.1/src/www/js/sortable.js
Log:
another case of M*zilla Firef*x displaying too many borders
Modified: trunk/gforge_base/evolvisforge-5.1/src/www/js/sortable.js
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/www/js/sortable.js 2012-06-26 14:04:55 UTC (rev 18460)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/js/sortable.js 2012-06-26 14:05:02 UTC (rev 18461)
@@ -66,7 +66,7 @@
var cell = firstRow.cells[i];
var txt = ts_getInnerText(cell);
if (cell.className != "unsortable" && cell.className.indexOf("unsortable") == -1 && txt != "") {
- cell.innerHTML = '<a href="#" class="sortheader" onclick="ts_resortTable(this, '+i+');return false;">'+txt+'<span class="sortarrow"> <img src="'+ image_path + image_none + '" alt="↓"/></span></a>';
+ cell.innerHTML = '<a href="#" class="sortheader" onclick="ts_resortTable(this, '+i+');return false;">'+txt+'<span class="sortarrow"> <img border="0" src="'+ image_path + image_none + '" alt="↓"/></span></a>';
}
}
if (alternate_row_colors) {
@@ -148,11 +148,11 @@
}
newRows.sort(sortfn);
if (span.getAttribute("sortdir") == 'down') {
- ARROW = ' <img src="'+ image_path + image_down + '" alt="↓"/>';
+ ARROW = ' <img border="0" src="'+ image_path + image_down + '" alt="↓"/>';
newRows.reverse();
span.setAttribute('sortdir','up');
} else {
- ARROW = ' <img src="'+ image_path + image_up + '" alt="↑"/>';
+ ARROW = ' <img border="0" src="'+ image_path + image_up + '" alt="↑"/>';
span.setAttribute('sortdir','down');
}
// We appendChild rows that already exist to the tbody, so it moves them rather than creating new ones
@@ -172,7 +172,7 @@
for (var ci=0;ci<allspans.length;ci++) {
if (allspans[ci].className == 'sortarrow') {
if (getParent(allspans[ci],"table") == getParent(lnk,"table")) { // in the same table as us?
- allspans[ci].innerHTML = ' <img src="'+ image_path + image_none + '" alt="↓"/>';
+ allspans[ci].innerHTML = ' <img border="0" src="'+ image_path + image_none + '" alt="↓"/>';
}
}
}
More information about the evolvis-commits
mailing list