summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--media/archweb.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/media/archweb.js b/media/archweb.js
index cf8acd1..7a0d1dc 100644
--- a/media/archweb.js
+++ b/media/archweb.js
@@ -14,7 +14,7 @@ if (typeof $.tablesorter !== 'undefined') {
id: 'todostatus',
is: function(s) { return false; },
format: function(s) {
- return s.match(/incomplete/) ? 1 : 0;
+ return s.match(/incomplete/i) ? 1 : 0;
},
type: 'numeric'
});
@@ -149,6 +149,9 @@ function todolist_flag() {
$(link).text('Incomplete').addClass(
'incomplete').removeClass('complete');
}
+ /* let tablesorter know the cell value has changed */
+ /* newer version of tablesorter: $('.results').trigger('updateCell', $(link).parent('td')); */
+ $('.results').trigger('update');
});
return false;
}