Browse Source

Check for form post to display ingest form.

pull/105/head
Alexander O'Neill 14 years ago
parent
commit
047bb78319
  1. 3
      CollectionClass.inc

3
CollectionClass.inc

@ -414,8 +414,7 @@ class CollectionClass {
$collection_items = $objectHelper->renderCollection($results, $this->pid, NULL, NULL, $page_number ); $collection_items = $objectHelper->renderCollection($results, $this->pid, NULL, NULL, $page_number );
// Check the form post to see if we are in the middle of an ingest operation. // Check the form post to see if we are in the middle of an ingest operation.
$show_ingest_tab = (!empty($_POST['form_id']) && $_POST['form_id'] == 'fedora_repository_ingest_form') $show_ingest_tab = (!empty($_POST['form_id']) && $_POST['form_id'] == 'fedora_repository_ingest_form');
&& (!empty($_POST['op']) && $_POST['op'] == 'Next');
$add_to_collection = $this->getIngestInterface(); $add_to_collection = $this->getIngestInterface();
$tabset['my_tabset']['view_tab'] = array( $tabset['my_tabset']['view_tab'] = array(

Loading…
Cancel
Save