Project

General

Profile

Revision 7b2d1845

Added by Assos Assos almost 4 years ago

Weekly update of contrib modules

View differences:

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']);

Also available in: Unified diff