From 6b0a72ba46a31edc0a496eaeb3fa4d519424d1af Mon Sep 17 00:00:00 2001 From: Georgy Litvinov Date: Wed, 19 Aug 2020 20:21:34 +0200 Subject: [PATCH] Added buttons --- webapp/src/main/webapp/themes/iph/js/query-builder-config.js | 4 ++-- webapp/src/main/webapp/themes/iph/templates/page-home.ftl | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/webapp/src/main/webapp/themes/iph/js/query-builder-config.js b/webapp/src/main/webapp/themes/iph/js/query-builder-config.js index 0cf8b218..eb339c66 100644 --- a/webapp/src/main/webapp/themes/iph/js/query-builder-config.js +++ b/webapp/src/main/webapp/themes/iph/js/query-builder-config.js @@ -64,11 +64,11 @@ $('#builder').queryBuilder({ }); $('#btn-reset').on('click', function() { - $('#builder-basic').queryBuilder('reset'); + $('#builder').queryBuilder('reset'); }); $('#btn-set').on('click', function() { - $('#builder-basic').queryBuilder('setRules', rules_basic); + $('#builder').queryBuilder('setRules', rules_basic); }); $('#btn-get').on('click', function() { diff --git a/webapp/src/main/webapp/themes/iph/templates/page-home.ftl b/webapp/src/main/webapp/themes/iph/templates/page-home.ftl index 39a91771..d52c4ec7 100644 --- a/webapp/src/main/webapp/themes/iph/templates/page-home.ftl +++ b/webapp/src/main/webapp/themes/iph/templates/page-home.ftl @@ -60,6 +60,11 @@
+
+ + + +