From 96ff487271259b523802c2286dc6b1d6466a2af2 Mon Sep 17 00:00:00 2001 From: Pierre Bondoerffer Date: Thu, 13 Apr 2017 19:36:04 +0200 Subject: [PATCH] fix flash of content --- www/poll/main.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/www/poll/main.js b/www/poll/main.js index 2f182e7de..8170f7e9d 100644 --- a/www/poll/main.js +++ b/www/poll/main.js @@ -260,6 +260,9 @@ define([ var displayedObj2 = mergeUncommitted(APP.proxy, APP.uncommitted); var f = getFocus(); Render.updateTable(table, displayedObj2, conf); + APP.proxy.table.rowsOrder.forEach(function (rowId) { + $('input[data-rt-id="' + rowId +'"]').val(APP.proxy.table.rows[rowId] || ''); + }); updateDisplayedTable(); setFocus(f); if (typeof(cb) === "function") {