From 61db88778582d5ed7e7febd68578a6368f50d468 Mon Sep 17 00:00:00 2001 From: yflory Date: Tue, 8 Jun 2021 14:35:24 +0200 Subject: [PATCH] Add an empty value in polls 'time' type --- www/form/inner.js | 1 + 1 file changed, 1 insertion(+) diff --git a/www/form/inner.js b/www/form/inner.js index b026958e1..9d4f87b79 100644 --- a/www/form/inner.js +++ b/www/form/inner.js @@ -503,6 +503,7 @@ define([ refreshView(); if (val !== "text") { $container.find('.cp-form-edit-block-input').remove(); + $(add).click(); return; } $container.find('input').each(function (i, input) {