Merge pull request #7795 from kinglozzer/uploadfield-height

FIX: Fix UploadField cuts off “Save” button (closes #2862)
This commit is contained in:
Damian Mooyman 2018-02-05 14:24:30 +13:00 committed by GitHub
commit 6fe5c37d6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -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 {