From 5d565660a9c5c035269ba3b1b757455c795fb458 Mon Sep 17 00:00:00 2001 From: Pierre Bondoerffer Date: Mon, 12 Jun 2017 12:41:03 +0200 Subject: [PATCH] tiny fixes --- www/poll/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/poll/main.js b/www/poll/main.js index 2d848f17d..0ff5dc0e0 100644 --- a/www/poll/main.js +++ b/www/poll/main.js @@ -589,7 +589,7 @@ var setEditable = function (editable) { if (editable === false) { // disable all the things - $('.realtime input, .realtime button').attr('disabled', APP.locked); + $('.realtime input, .realtime button, .upper button, .realtime textarea').attr('disabled', APP.locked); $('span.edit, span.remove').hide(); $('span.lock').addClass('fa-lock').removeClass('fa-unlock') .attr('title', Messages.poll_locked) @@ -598,7 +598,7 @@ var setEditable = function (editable) { // enable $('span.edit, span.remove').show(); $('span.lock').css({'cursor': ''}); - $('.realtime button').attr('disabled', APP.locked); + $('.realtime button, .upper button, .realtime textarea').attr('disabled', APP.locked); unlockElements(); } };