summaryrefslogtreecommitdiff
path: root/skins/common
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2007-02-05 10:49:51 +0000
committerPierre Schmitz <pierre@archlinux.de>2007-02-05 10:49:51 +0000
commitc39aeb62f7e8dfb6ba6467beb2d9d6f97fd84959 (patch)
tree187c3b0b29a4baf4a6e23b053abf8a94ee62e085 /skins/common
parent471fc27fc958b3495b92057c88eb4b8f75792f88 (diff)
Aktualisierung auf MediaWiki 1.9.2
Diffstat (limited to 'skins/common')
-rw-r--r--skins/common/sorttable.js3
-rw-r--r--skins/common/wikibits.js2
2 files changed, 2 insertions, 3 deletions
diff --git a/skins/common/sorttable.js b/skins/common/sorttable.js
index 24877865..229b4c3a 100644
--- a/skins/common/sorttable.js
+++ b/skins/common/sorttable.js
@@ -55,9 +55,8 @@ function ts_makeSortable(table) {
// We have a first row: assume it's the header, and make its contents clickable links
for (var i=0;i<firstRow.cells.length;i++) {
var cell = firstRow.cells[i];
- var txt = ts_getInnerText(cell);
if (cell.className != "unsortable" && cell.className.indexOf("unsortable") == -1) {
- cell.innerHTML = txt+'&nbsp;&nbsp;<a href="#" class="sortheader" onclick="ts_resortTable(this);return false;"><span class="sortarrow"><img src="'+ image_path + image_none + '" alt="&darr;"/></span></a>';
+ cell.innerHTML += '&nbsp;&nbsp;<a href="#" class="sortheader" onclick="ts_resortTable(this);return false;"><span class="sortarrow"><img src="'+ image_path + image_none + '" alt="&darr;"/></span></a>';
}
}
if (alternate_row_colors) {
diff --git a/skins/common/wikibits.js b/skins/common/wikibits.js
index afb1fa27..1e8e10ae 100644
--- a/skins/common/wikibits.js
+++ b/skins/common/wikibits.js
@@ -853,7 +853,7 @@ function getElementsByClassName(oElm, strTagName, oClassNames){
function sortableTables() {
if (getElementsByClassName(document, "table", "sortable").length != 0) {
- document.write('<script type="text/javascript" src="'+stylepath+'/common/sorttable.js"></script>');
+ document.write('<script type="text/javascript" src="'+stylepath+'/common/sorttable.js?1"></script>');
}
}