[LON-CAPA-cvs] cvs: rat /client parameter.html

raeburn raeburn at source.lon-capa.org
Wed Dec 23 16:20:36 EST 2020


raeburn		Wed Dec 23 21:20:36 2020 EDT

  Modified files:              
    /rat/client	parameter.html 
  Log:
  - Bug 6907
    Initial values for rows in selector frame either 100 or 60 instead of the
    default 125, depending on whether level is for folder or not, when deeplink
    parameter set via popup (to accommodate size of table in choices frame).
  
  
Index: rat/client/parameter.html
diff -u rat/client/parameter.html:1.84 rat/client/parameter.html:1.85
--- rat/client/parameter.html:1.84	Thu Oct 29 23:24:13 2020
+++ rat/client/parameter.html	Wed Dec 23 21:20:36 2020
@@ -5,7 +5,7 @@
 The LearningOnline Network with CAPA
 Parameter Input Window
 //
-// $Id: parameter.html,v 1.84 2020/10/29 23:24:13 raeburn Exp $
+// $Id: parameter.html,v 1.85 2020/12/23 21:20:36 raeburn Exp $
 //
 // Copyright Michigan State University Board of Trustees
 //
@@ -45,6 +45,7 @@
 var preturn='';
 var pcode='';
 var pscat='';
+var psmap='';
 var pmarker='';
 var pmodal='';
 var pname='';
@@ -1501,6 +1502,7 @@
           }
       }
   }
+  psmap = ismap;
 
 
   if (ptype=='date' && pscat == 'interval') {
@@ -1716,7 +1718,11 @@
   selwrite('</body></html>');
   this.window.selector.document.close();
   if (pscat == 'deeplink') {
-      document.getElementById("LCparampopup").rows="60,*";
+      if (psmap==1) {
+          document.getElementById("LCparampopup").rows="100,*";
+      } else {  
+          document.getElementById("LCparampopup").rows="60,*";
+      }
   }
   draw();
  




More information about the LON-CAPA-cvs mailing list