function nodequeue_reference_nodequeue_view_submit in Nodequeue reference 7
Submit callback for modifying nodequeue nodes from the dialog The menu callback will output javascript that will close the dialog, and pass paramenters to the main window. Note that the field value will be overriden in the end.
1 string reference to 'nodequeue_reference_nodequeue_view_submit'
File
- ./
nodequeue_reference.module, line 79 - Form field type for node queues.
Code
function nodequeue_reference_nodequeue_view_submit($form, &$form_state) {
if (references_dialog_in_dialog() && references_dialog_close_on_submit()) {
$qid = $form['nodes']['#queue']['qid'];
$_GET['destination'] = "nodequeue-reference/dialog/redirect/{$qid}" . '?render=references-dialog&references-dialog-close=1';
}
}