Révision 7b2d1845
Ajouté par Assos Assos il y a presque 4 ans
drupal7/sites/all/modules/webform/includes/webform.conditionals.inc | ||
---|---|---|
260 | 260 |
*/ |
261 | 261 |
function webform_conditionals_form_submit($form, &$form_state) { |
262 | 262 |
$node = $form['#node']; |
263 |
// Get a fresh copy of the node so that we are only saving these changes. |
|
264 |
// Otherwise, changes to the Webform on another tab will be overwritten. |
|
265 |
$node = node_load($node->nid, NULL, TRUE); |
|
263 | 266 |
|
264 | 267 |
// Remove the new conditional placeholder. |
265 | 268 |
unset($form_state['values']['conditionals']['new']); |
Formats disponibles : Unified diff
Weekly update of contrib modules