
theory at bricolage
Mar 10, 2009, 10:06 PM
Post #1 of 1
(440 views)
Permalink
|
|
[8483] The pagination links now work in the edit related popup window.
|
|
Revision: 8483 Author: theory Date: 2009-03-10 22:06:26 -0700 (Tue, 10 Mar 2009) ViewCVS: http://viewsvn.bricolage.cc/?rev=8483&view=rev Log Message: ----------- The pagination links now work in the edit related popup window. Reported by Adam Wilson (Bug #1428). [David] Bugzilla Links: -------------- http://bugs.bricolage.cc/show_bug.cgi?id=1428 Modified Paths: -------------- bricolage/trunk/comp/workflow/profile/story/container/edit_related_media.html bricolage/trunk/lib/Bric/Changes.pod Modified: bricolage/trunk/comp/workflow/profile/story/container/edit_related_media.html =================================================================== --- bricolage/trunk/comp/workflow/profile/story/container/edit_related_media.html 2009-03-10 06:28:10 UTC (rev 8482) +++ bricolage/trunk/comp/workflow/profile/story/container/edit_related_media.html 2009-03-11 05:06:26 UTC (rev 8483) @@ -22,12 +22,18 @@ </%once> <%args> -$id +$id => undef </%args> <%init>; my $crumb = get_state_data('container_prof', 'crumb') || ''; $crumb .= ' |' if $crumb; +if ($id) { + set_state_data('container_prof', relate_to_id => $id ); +} else { + $id = get_state_data('container_prof', 'relate_to_id' ); +} +die "no value sent for required parameter 'id'" unless $id; </%init> <%doc> Modified: bricolage/trunk/lib/Bric/Changes.pod =================================================================== --- bricolage/trunk/lib/Bric/Changes.pod 2009-03-10 06:28:10 UTC (rev 8482) +++ bricolage/trunk/lib/Bric/Changes.pod 2009-03-11 05:06:26 UTC (rev 8483) @@ -282,6 +282,11 @@ element, the container was prevented from being deleted until the page is refreshed. Reported by Matt Rolf (Bug #1392). [David] +=item * + +The pagination links now work in the edit related popup window. Reported by +Adam Wilson (Bug #1428). [David] + =back =head1 VERSION 1.11.1 (2008-10-03)
|