enhancement
In grid.xml, an icon is referenced "hard-coded." This is done by passing the prefix "/grid/createGrid" as a parameter and adding ".png" or "Disabled.png" when using it.
This should be made explicit.
Code Migration
- Search for includes from "element/grid.xml" or "element/gridWithDetail.xml" within the layout where the "createButtonImage" parameter is set.
- Replace the value (<value>) with "<value>.png"
- Set the "createButtonImageDisabled" parameter and assign it the value "<value>Disabled.png".
Test
No test. Refactoring.