diff --git a/html/js/scripts.js b/html/js/scripts.js index 3a746859d..6de6cd206 100644 --- a/html/js/scripts.js +++ b/html/js/scripts.js @@ -726,7 +726,7 @@ function waiting_node() */ function waiting_box() { - obj = { + var obj = { id: 'wait_box', html: '

Chargement

' + loading() }; var y = fixed_position(10, 250) diff --git a/html/js/sorttable.js b/html/js/sorttable.js index cfe0ae4fd..d6b2e37c8 100644 --- a/html/js/sorttable.js +++ b/html/js/sorttable.js @@ -161,9 +161,9 @@ sorttable = { // i.e., we "decorate" each row with the actual sort key, // sort based on the sort keys, and then put the rows back in order // which is a lot faster because you only do getInnerText once per row - row_array = []; - col = this.sorttable_columnindex; - rows = this.sorttable_tbody.rows; + var row_array = []; + var col = this.sorttable_columnindex; + var rows = this.sorttable_tbody.rows; for (var j=0; j