Hotfix - Administración - Altura de IFrame no se recogía al cambiarla #502
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Como se describe en el issue, no es posible establecer la altura de un campo iframe. Aunque se configure en el estudio, al insertarlo en una vista de detalle de cualquier módulo, la altura no se respeta.
Esto es debido a que en Estudio, al cambiar la altura, no se respeta el nuevo valor que se le establecía, sino que volvía a guardarse con el valor original.
Como tal, el rango de la altura es de 100 a 1024, por lo que menor o mayor a este rango no se cambiará.
Motivation and Context
Se ha añadido una condición en el que al generar la caché, se guarde el valor añadido en el párametro de la altura:
$row["ext4"] = $saveCache->ext4;
Además de añadirlo en la tabla de "módulo_cstm":
$to_save['ext4'] = (isset($field->ext4) ? $field->ext4 : '');
How To Test This