From d61112a324d4ecc3cad0226de4c6b53e58adf3f2 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Tue, 17 Jul 2007 13:07:57 +0000 Subject: [PATCH] Generate client-area text before emitting scaffolding, so that actions such as creating a new record can have side-effects that modify the menus. --- web/htdocs/chrome/layout.mc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/web/htdocs/chrome/layout.mc b/web/htdocs/chrome/layout.mc index 972b9c6..b99cb80 100644 --- a/web/htdocs/chrome/layout.mc +++ b/web/htdocs/chrome/layout.mc @@ -1,4 +1,4 @@ -%# $Id: layout.mc,v 1.37 2007-07-16 11:55:57 mike Exp $ +%# $Id: layout.mc,v 1.38 2007-07-17 13:07:57 mike Exp $ <%args> $debug => undef $title @@ -15,6 +15,7 @@ use ZOOM::IRSpy::Utils qw(utf8param isodate xml_encode cql_target cql_quote bib1_access_point); % $r->content_type("text/html; charset=utf-8"); +% my $text = $m->scomp($component, %ARGS);   -<& $component, %ARGS &> +% print $text; -- 1.7.10.4