From 0dae949c4fae1541263ec735ceb2a421aa9aa222 Mon Sep 17 00:00:00 2001 From: ansuz Date: Tue, 13 Sep 2016 15:34:10 +0200 Subject: [PATCH 01/19] fix scrolljank bug --- www/poll/main.js | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/www/poll/main.js b/www/poll/main.js index 9ae642e13..c8f50f9e1 100644 --- a/www/poll/main.js +++ b/www/poll/main.js @@ -303,12 +303,19 @@ define([ }; var scrollDown = module.scrollDown = function (px) { + if (module.scrolling) { return; } + + module.scrolling = true; + var top = $(window).scrollTop() + px + 'px'; $('html, body').animate({ scrollTop: top, }, { duration: 200, easing: 'swing', + complete: function () { + module.scrolling = false; + } }); }; @@ -375,7 +382,10 @@ define([ addIfAbsent(proxy.table.rowsOrder, id); var $row = table.addRow($wrapper, Checkbox, id); - scrollDown($row.height()); + + if (module.ready) { + scrollDown($row.height()); + } return $option; }; From c35c7cda207f4b286016cc89e1a6080240b19c7e Mon Sep 17 00:00:00 2001 From: ansuz Date: Tue, 13 Sep 2016 16:02:38 +0200 Subject: [PATCH 02/19] hide wizard after computing results --- www/poll/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/poll/main.js b/www/poll/main.js index c8f50f9e1..d8f028415 100644 --- a/www/poll/main.js +++ b/www/poll/main.js @@ -427,7 +427,7 @@ define([ var id = rowuid(); makeOption(proxy, id, text).val(text); }); - //console.log(options); + Wizard.hide(); }); }); From 5b7d3f9d57f3dcb68396a2933dcf0a308ab4aa40 Mon Sep 17 00:00:00 2001 From: "Hector F. Jimenez" Date: Fri, 21 Oct 2016 16:36:41 -0500 Subject: [PATCH 03/19] Add spanish translation --- customize.dist/BottomBar.html | 3 +- customize.dist/translations/messages.es.js | 207 +++++++++++++++++++++ 2 files changed, 209 insertions(+), 1 deletion(-) create mode 100644 customize.dist/translations/messages.es.js diff --git a/customize.dist/BottomBar.html b/customize.dist/BottomBar.html index 827cef5cd..d427347c1 100644 --- a/customize.dist/BottomBar.html +++ b/customize.dist/BottomBar.html @@ -5,10 +5,11 @@ -

+