You are here

function img_assist_node_form_submit in Image Assist 5.3

Same name and namespace in other branches
  1. 5 img_assist.module \img_assist_node_form_submit()
  2. 5.2 img_assist.module \img_assist_node_form_submit()
  3. 6.2 img_assist.module \img_assist_node_form_submit()
  4. 6 img_assist.module \img_assist_node_form_submit()

Submit callback for image_node_form.

Change the redirect from node/$nid to img_assist/properties/$nid.

Related topics

File

./img_assist.module, line 745
Image Assist module

Code

function img_assist_node_form_submit($form_id, $form_values) {

  // Get the nid of the newly created image (caught by img_assist_nodeapi).
  global $_img_assist_saved_image;
  drupal_goto('img_assist/properties/' . $_img_assist_saved_image);
}