From 9e9fb51cd28c7f4b7705f71b856d155b3e44e565 Mon Sep 17 00:00:00 2001 From: Alexander O'Neill Date: Thu, 20 Jan 2011 11:42:54 -0400 Subject: [PATCH] ISLANDORA-171 Added a comment to explain tab activation code. --- CollectionClass.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CollectionClass.inc b/CollectionClass.inc index 437549c2..d3495621 100644 --- a/CollectionClass.inc +++ b/CollectionClass.inc @@ -412,6 +412,8 @@ class CollectionClass { $results = $this->getRelatedItems($this->pid, NULL); $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') && (!empty($_POST['op']) && $_POST['op'] == 'Next'); $add_to_collection = $this->getIngestInterface();