From ed5cc5158bd8b5743fb1ae0c23a679f262f4d421 Mon Sep 17 00:00:00 2001 From: yflory Date: Fri, 28 May 2021 14:23:02 +0200 Subject: [PATCH] Fix poll forms issues... --- www/form/inner.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/form/inner.js b/www/form/inner.js index 844e27dc0..4e9eee66c 100644 --- a/www/form/inner.js +++ b/www/form/inner.js @@ -266,7 +266,7 @@ define([ // "Add option" button handler $add = $(add).click(function () { var txt = v.type ? '' : Messages.form_newOption; - $add.before(getOption(Messages.form_newOption, false)); + $add.before(getOption(txt, false)); var l = $container.find('input').length; $(maxInput).attr('max', l); if (l >= MAX_OPTIONS) { $add.hide(); }