From fc7d892c3c494f25313630d6431fbd929467c0c6 Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Wed, 17 Aug 2022 11:11:37 +0200 Subject: [PATCH] jquery.bootgird.js - type cast issue, pull in https://github.com/opnsense/jquery-bootgrid/commit/7b8da26bb89f7697e49b1b714f5eb87f4627637f --- src/opnsense/www/js/jquery.bootgrid.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/opnsense/www/js/jquery.bootgrid.js b/src/opnsense/www/js/jquery.bootgrid.js index 486f79082..6f6b1102e 100644 --- a/src/opnsense/www/js/jquery.bootgrid.js +++ b/src/opnsense/www/js/jquery.bootgrid.js @@ -78,7 +78,7 @@ function init() loadColumns.call(this); // Loads columns from HTML thead tag this.selection = this.options.selection && this.identifier != null; - this.rowCount = localStorage.getItem('rowCount[' + this.uid + ']') || this.rowCount; + this.rowCount = parseInt(localStorage.getItem('rowCount[' + this.uid + ']')) || this.rowCount; loadRows.call(this); // Loads rows from HTML tbody tag if ajax is false prepareTable.call(this); renderTableHeader.call(this);