mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
FIX: Fix UploadField cuts off “Save” button (closes #2862)
This commit is contained in:
parent
677336fbef
commit
f2b4c192ec
@ -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