-
Notifications
You must be signed in to change notification settings - Fork 332
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Save Button in File-Field #878
Comments
Same issue as here: silverstripe/silverstripe-framework#2188. @chillu The fix I put together for this is here: silverstripe/silverstripe-framework#2221. It essentially forces the iframe to re-calculate it's height if there's a validation message present. P.s. similar issue/fix here: silverstripe/silverstripe-framework#2188 / silverstripe/silverstripe-framework#2222 |
The height is specified inline (as it's calculated in the UploadField JavaScript) on the In my opinion, if we're putting in the effort to calculate the height of the iframe, we should make sure we're calculating it correctly - it seems wrong to calculate the height, then set @micmania1 I can't seem to re-create your issue above where it's cut off without a validation message. Any steps to reproduce? |
I would prefer is we just recalc the size on every iframe load, rather than hard coding assumptions about any DOM elements which might be responsible for a height change. Committed in silverstripe/silverstripe-framework@3422761 |
Thanks @kinglozzer for getting this started. Fixes silverstripe/silverstripe-cms#878 Replaces silverstripe#2221
When you save an image the "save Button" from Image-Field is no longer visible.
The text was updated successfully, but these errors were encountered: