Commit 25d1941e authored by Romain Loth's avatar Romain Loth

Terms table: fixing mapAll and delAll checkboxes

parent 3f51e750
...@@ -1357,7 +1357,7 @@ function SelectPage(boxType, boxElem) { ...@@ -1357,7 +1357,7 @@ function SelectPage(boxType, boxElem) {
// console.log("data became:" + newColumnSelection) // console.log("data became:" + newColumnSelection)
$("tbody tr").each(function (i, row) { $("table#my-ajax-table tbody tr").each(function (i, row) {
var ngramId = $(row).attr("ngram-id") ; var ngramId = $(row).attr("ngram-id") ;
// a cache to restore previous states if unchecked // a cache to restore previous states if unchecked
...@@ -1374,6 +1374,7 @@ function SelectPage(boxType, boxElem) { ...@@ -1374,6 +1374,7 @@ function SelectPage(boxType, boxElem) {
AjaxRecords[ngramId]["state"] = AjaxRecords[ngramId]["state_buff"] ; AjaxRecords[ngramId]["state"] = AjaxRecords[ngramId]["state_buff"] ;
AjaxRecords[ngramId]["state_buff"] = null ; AjaxRecords[ngramId]["state_buff"] = null ;
} }
}); });
// OK update this table page // OK update this table page
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment