# HG changeset patch
# User Edouard Tisserant
# Date 1615558358 -3600
# Node ID ba8ff21fd82b7a7dc3eba8f08fb09ac57bbed940
# Parent 1e9b9d7451cdaeeab7109586b78dd140214538ec
SVGHMI: change default values for JsonTable, leading to scrollbar initialized at annoying non-zero position
diff -r 1e9b9d7451cd -r ba8ff21fd82b svghmi/gen_index_xhtml.xslt
--- 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 @@
// arbitrary defaults to avoid missing entries in query
- cache = [0,100,50];
+ cache = [0,0,0];
init_common() {
diff -r 1e9b9d7451cd -r ba8ff21fd82b svghmi/widget_jsontable.ysl2
--- 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);