From f2b4c192ec4d70779f7c667a976e741a7f3a26c5 Mon Sep 17 00:00:00 2001 From: Loz Calver Date: Wed, 24 Jan 2018 15:49:46 +0000 Subject: [PATCH] =?UTF-8?q?FIX:=20Fix=20UploadField=20cuts=20off=20?= =?UTF-8?q?=E2=80=9CSave=E2=80=9D=20button=20(closes=20#2862)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- javascript/UploadField.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/javascript/UploadField.js b/javascript/UploadField.js index a7d00855c..fee1ce59c 100644 --- a/javascript/UploadField.js +++ b/javascript/UploadField.js @@ -450,6 +450,10 @@ if (iframe.data('src')) { self._prepareIframe(iframe, editform, itemInfo); iframe.data('src', ''); + // Subsequent load events are likely form submissions, which may change + // the height if alert dialogs are displayed + } else { + editform.fitHeight(); } }); } else {