--- loncom/interface/loncommon.pm 2023/11/19 21:28:17 1.1421 +++ loncom/interface/loncommon.pm 2023/12/31 23:03:40 1.1425 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.1421 2023/11/19 21:28:17 raeburn Exp $ +# $Id: loncommon.pm,v 1.1425 2023/12/31 23:03:40 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1372,7 +1372,7 @@ sub helpLatexCheatsheet { $out .= '' .&help_open_topic('Authoring_Output_Tags',&mt('Output Tags'),$stayOnPage,undef,600) .' ' - .&help_open_topic('Authoring_Multilingual_Problems',&mt('How to create problems in different languages'),$stayOnPage,undef,600) + .&help_open_topic('Authoring_Multilingual_Problems',&mt('Languages'),$stayOnPage,undef,600) .''; } $out .= ''; # End cheatsheet @@ -1764,8 +1764,6 @@ the id of the element to resize, second surrounds everything that comes after the textarea, this routine needs to be attached to the for the onload and onresize events. -=back - =cut sub resize_textarea_js { @@ -2443,6 +2441,12 @@ END =item * &iframe_wrapper_headjs() +emits javascript containing two global vars to facilitate handling of resizing +by code in iframe_wrapper_resizejs() used when an iframe is present in a page +with standard LON-CAPA menus. + +=cut + # # Where iframe is in use, if window.onload() executes before the custom resize function # has been defined (jQuery), two global javascript vars (LCnotready and LCresizedef) @@ -2450,11 +2454,6 @@ END # do not obscure the Functions menu. # -=back - -=cut - - sub iframe_wrapper_headjs { return <<"ENDJS";