mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #7795 from kinglozzer/uploadfield-height
FIX: Fix UploadField cuts off “Save” button (closes #2862)
This commit is contained in:
commit
6fe5c37d6a
@ -450,6 +450,10 @@
|
|||||||
if (iframe.data('src')) {
|
if (iframe.data('src')) {
|
||||||
self._prepareIframe(iframe, editform, itemInfo);
|
self._prepareIframe(iframe, editform, itemInfo);
|
||||||
iframe.data('src', '');
|
iframe.data('src', '');
|
||||||
|
// Subsequent load events are likely form submissions, which may change
|
||||||
|
// the height if alert dialogs are displayed
|
||||||
|
} else {
|
||||||
|
editform.fitHeight();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user