--- loncom/publisher/Attic/lonconstruct.pm 2010/03/10 21:26:04 1.36
+++ loncom/publisher/Attic/lonconstruct.pm 2010/04/12 15:05:51 1.37
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Construction Space Page Wrapper for Construction
#
-# $Id: lonconstruct.pm,v 1.36 2010/03/10 21:26:04 droeschl Exp $
+# $Id: lonconstruct.pm,v 1.37 2010/04/12 15:05:51 droeschl Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -117,29 +117,12 @@ sub handler {
$lowerframe.='?editmode=Edit&problemmode=edit';
}
- my $js=qq|
-
- |;
-
- my $start_page=
- &Apache::loncommon::start_page('Construction Space',$js,
- {'frameset' => 1,
- 'add_entries' => {
- 'rows' => "0,*",
- 'border' => "0",}});
- my $end_page=
- &Apache::loncommon::end_page({'frameset' => 1});
-
-
-#SD this entire frameset should be obsolete?!
- $r->print(<
-
-$end_page
-ENDPAGE
+ # when the remote control existed we used to force the
+ # pages of construction space into a frameset.
+ # without remote control, we can elimnate this frameset
+ # and redirect to the url of the content frame.
+ # This keeps all URLs intact.
+ $r->internal_redirect($lowerframe);
return OK;
}
1;