SVGHMI: change default values for JsonTable, leading to scrollbar initialized at annoying non-zero position
--- a/svghmi/gen_index_xhtml.xslt Thu Mar 11 20:46:05 2021 +0100
+++ b/svghmi/gen_index_xhtml.xslt Fri Mar 12 15:12:38 2021 +0100
@@ -4535,7 +4535,7 @@
</xsl:text>
<xsl:text> // arbitrary defaults to avoid missing entries in query
</xsl:text>
- <xsl:text> cache = [0,100,50];
+ <xsl:text> cache = [0,0,0];
</xsl:text>
<xsl:text> init_common() {
</xsl:text>
--- a/svghmi/widget_jsontable.ysl2 Thu Mar 11 20:46:05 2021 +0100
+++ b/svghmi/widget_jsontable.ysl2 Fri Mar 12 15:12:38 2021 +0100
@@ -4,7 +4,7 @@
||
class JsonTableWidget extends Widget{
// arbitrary defaults to avoid missing entries in query
- cache = [0,100,50];
+ cache = [0,0,0];
init_common() {
this.spread_json_data_bound = this.spread_json_data.bind(this);
this.handle_http_response_bound = this.handle_http_response.bind(this);