Projet

Général

Profil

Révision 76bdcd04

Ajouté par Assos Assos il y a plus de 5 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/webform/includes/webform.components.inc
463 463
          'inline' => t('Inline'),
464 464
          'none' => t('None'),
465 465
        ),
466
        '#description' => t('Determines the placement of the component\'s label.'),
466
        '#description' => t("Determines the placement of the component's label."),
467 467
      );
468 468
    }
469 469
    else {
......
855 855
}
856 856

  
857 857
/**
858
 *
858
 * Delete a Webform component.
859 859
 */
860 860
function webform_component_delete($node, $component) {
861 861
  // Check if a delete function is available for this component. If so,
......
919 919
      // Delete the conditional if this component is the only source / target.
920 920
      if (empty($conditional[$field])) {
921 921
        webform_conditional_delete($node, $conditional);
922
        // Also delete the conditional from the $node so it is not re-created
923
        // later on in webform_node_update().
924
        unset($node->webform['conditionals'][$conditional['rgid']]);
922 925
        // Loop exit.
923 926
        break;
924 927
      }

Formats disponibles : Unified diff