From 24ae91993fa2fb168863b3248e65fdebfc014035 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Mon, 14 May 2012 17:12:07 -0400 Subject: [PATCH] tpac ac part 3 Signed-off-by: Bill Erickson --- Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm | 6 ++++-- Open-ILS/src/templates/opac/parts/record/addedcontent.tt2 | 1 - 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm index 9e80bd73a7..ac9d5fc723 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm @@ -411,6 +411,7 @@ sub load_email_record { return Apache2::Const::OK; } +# for each type, fire off the reqeust to see if content is available # ctx.added_content.$type.status: # 1 == available # 2 == not available @@ -445,8 +446,9 @@ sub added_content_stage1 { } } -# check each outstanding request. If it's ready to be read, read -# the HTTP status and use it to determine if content is available. +# check each outstanding request. If it's ready, read the HTTP +# status and use it to determine if content is available. Otherwise, +# leave the status as unknown. sub added_content_stage2 { my $self = shift; my $ctx = $self->ctx; diff --git a/Open-ILS/src/templates/opac/parts/record/addedcontent.tt2 b/Open-ILS/src/templates/opac/parts/record/addedcontent.tt2 index 60fb3a70b8..21e81ef29f 100644 --- a/Open-ILS/src/templates/opac/parts/record/addedcontent.tt2 +++ b/Open-ILS/src/templates/opac/parts/record/addedcontent.tt2 @@ -15,7 +15,6 @@ # content, do not render the link if it's known to not have content. If # the content status is unknown, render the link, but hide the link via CSS # if dojo is enabled. If dojo is not enabled, render and display the link. - %]
-- 2.11.0