--- loncom/xml/scripttag.pm 2011/12/10 18:11:05 1.159
+++ loncom/xml/scripttag.pm 2011/12/19 01:49:32 1.160
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# $linktext";
+ $result=&Apache::loncommon::modal_adhoc_window
+ ("LONCAPA_newwindow_$Apache::lonxml::curdepth",$width,$height,$output,$linktext);
} elsif ($target eq 'tex') {
$result = '}';
} else {