Projet

Général

Profil

Révision 05237dd8

Ajouté par Assos Assos il y a presque 7 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/themes/bootstrap/includes/process.inc
47 47

  
48 48
    // Ignore buttons before we find the element in the form.
49 49
    $found_current_element = FALSE;
50
    foreach (element_children($parent) as $child) {
50
    foreach (element_children($parent, TRUE) as $child) {
51 51
      if ($parent[$child] === $element) {
52 52
        $found_current_element = TRUE;
53 53
        continue;
54 54
      }
55 55

  
56
      if ($found_current_element && _bootstrap_is_button($parent[$child])) {
57
        _bootstrap_iconize_button($parent[$child]);
56
      if ($found_current_element && _bootstrap_is_button($parent[$child]) && (!isset($parent[$child]['#access']) || !!$parent[$child]['#access'])) {
58 57
        $element['#field_suffix'] = drupal_render($parent[$child]);
59 58
        break;
60 59
      }

Formats disponibles : Unified diff