if ($form_id == 'privatemsg_new') {
  $form['#submit'][] = 'modals_child_form_submit';
  //dvr($form);
}

Here's the snippet i use to close the modal after submit... I use more form_id's in that if, and all work only the privatemsg_new form is giving problems. After the PM has been submitted the whole website load in the modalframe iframe. Any ideas? What more info could i give?

Comments

Michsk’s picture

private_msg module latest 6.x-2.x-dev

Michsk’s picture

Assigned: Unassigned » Michsk
Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.