[LON-CAPA-cvs] cvs: loncom /interface lonparmset.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Sat, 24 Apr 2004 08:31:01 -0000
albertel Sat Apr 24 04:31:01 2004 EDT
Modified files:
/loncom/interface lonparmset.pm
Log:
- doing some cleanup
Index: loncom/interface/lonparmset.pm
diff -u loncom/interface/lonparmset.pm:1.154 loncom/interface/lonparmset.pm:1.155
--- loncom/interface/lonparmset.pm:1.154 Fri Apr 23 19:01:36 2004
+++ loncom/interface/lonparmset.pm Sat Apr 24 04:31:01 2004
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to set parameters for assessments
#
-# $Id: lonparmset.pm,v 1.154 2004/04/23 23:01:36 albertel Exp $
+# $Id: lonparmset.pm,v 1.155 2004/04/24 08:31:01 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1679,31 +1679,11 @@
my $Parameter=&mt('Parameter');
my $Value=&mt('Value');
my $Set=&mt('Set');
+ my $browse_js=&Apache::loncommon::browser_and_searcher_javascript();
$r->print(<<ENDENV);
<html>
<script type="text/javascript" language="Javascript" >
- var editbrowser;
- function openbrowser(formname,elementname,only,omit) {
- var url = '/res/?';
- if (editbrowser == null) {
- url += 'launch=1&';
- }
- url += 'catalogmode=interactive&';
- url += 'mode=parmset&';
- url += 'form=' + formname + '&';
- if (only != null) {
- url += 'only=' + only + '&';
- }
- if (omit != null) {
- url += 'omit=' + omit + '&';
- }
- url += 'element=' + elementname + '';
- var title = 'Browser';
- var options = 'scrollbars=1,resizable=1,menubar=0';
- options += ',width=700,height=600';
- editbrowser = open(url,title,options,'1');
- editbrowser.focus();
- }
+$browse_js
</script>
<head>
<title>LON-CAPA Course Environment</title>