--- loncom/xml/scripttag.pm 2010/08/08 03:00:56 1.157 +++ loncom/xml/scripttag.pm 2011/12/09 22:04:55 1.158 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # ".&mt('Script Vars')."
"; - &Apache::lonxml::add_script_result($script_var); + my $scriptblocklog=$start_page. + &Apache::loncommon::start_scrollbox('500px','480px','480px'). + '
'.&Apache::run::dump($target,$safeeval).'
'. + &Apache::loncommon::end_scrollbox(). + $end_page; + $scriptblocklog=~s/\'/\\'/gs; + &Apache::lonxml::add_script_result( + &Apache::loncommon::modal_adhoc_script($function_name,500,500,$scriptblocklog). + "".&mt('Script Vars')."
" + ); } } elsif ($target eq "edit" ) { #&Apache::run::run($bodytext,$safeeval);