/usr/share/GNUstep/SOGo/WebServerResources/tablekit-sogo.js is in sogo-common 2.1.1b-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 | /* -*- Mode: java; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
Object.extend(TableKit, {
getHeaderCells : function(table, cell) {
if(!table) { table = $(cell).up('table'); }
var id = table.id;
if(!TableKit.tables[id].dom.head) {
// If there are tHead parts, use the first part, not the last one.
TableKit.tables[id].dom.head = $A((table.tHead && table.tHead.rows.length > 0) ? table.tHead.rows[0].cells : table.rows[0].cells);
}
return TableKit.tables[id].dom.head;
}
});
|