Skip to content
Snippets Groups Projects

Issue #3238915: Refactor (if feasible) uses of the jQuery ready function to use VanillaJS

Closed Issue #3238915: Refactor (if feasible) uses of the jQuery ready function to use VanillaJS
Closed Harumi Jang requested to merge issue/drupal-3238915:3238915-refactor-if-feasible into 9.3.x
2 files
+ 91
1
Compare changes
  • Side-by-side
  • Inline
Files
2
  • 26ec0043
    Issue #3064890 by danflanagan8, mpp, mottihoresh, scott_euser, peonboyos,... · 26ec0043
    catch authored
    Issue #3064890 by danflanagan8, mpp, mottihoresh, scott_euser, peonboyos, Kristen Pol, joshmiller: Notice: Undefined index: name in Drupal\field_ui\Element\FieldUiTable::reduceOrder() (line 228 of /var/www/html/docroot/core/modules/field_ui/src/Element/FieldUiTable.php)
    
    (cherry picked from commit fbdb75e1)
@@ -225,7 +225,7 @@ public static function preRenderRegionRows($elements) {
*/
public static function reduceOrder($array, $a) {
$array = !$array ? [] : $array;
if ($a['name']) {
if (!empty($a['name'])) {
$array[] = $a['name'];
}
if (!empty($a['children'])) {
Loading