Browse Source

ISLANDORA-171 Added a comment to explain tab activation code.

pull/105/head
Alexander O'Neill 14 years ago
parent
commit
9e9fb51cd2
  1. 2
      CollectionClass.inc

2
CollectionClass.inc

@ -412,6 +412,8 @@ class CollectionClass {
$results = $this->getRelatedItems($this->pid, NULL); $results = $this->getRelatedItems($this->pid, NULL);
$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.
$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'); && (!empty($_POST['op']) && $_POST['op'] == 'Next');
$add_to_collection = $this->getIngestInterface(); $add_to_collection = $this->getIngestInterface();

Loading…
Cancel
Save