[LON-CAPA-cvs] cvs: loncom /interface londocs.pm lonextresedit.pm

raeburn raeburn at source.lon-capa.org
Wed Jul 4 09:55:27 EDT 2018


raeburn		Wed Jul  4 13:55:27 2018 EDT

  Modified files:              
    /loncom/interface	londocs.pm lonextresedit.pm 
  Log:
  - Bug 6754 LON-CAPA as LTI Consumer
    - Move External Resource and External Tool to separate "tab".
  
  
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.655 loncom/interface/londocs.pm:1.656
--- loncom/interface/londocs.pm:1.655	Tue May 29 19:33:48 2018
+++ loncom/interface/londocs.pm	Wed Jul  4 13:55:27 2018
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Documents
 #
-# $Id: londocs.pm,v 1.655 2018/05/29 19:33:48 raeburn Exp $
+# $Id: londocs.pm,v 1.656 2018/07/04 13:55:27 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -8116,6 +8116,7 @@
                 current.className = 'right';
             }
             activeTab = ''; 
+            toggleExternal();
             toggleUpload();
             toggleMap();
             toggleCrsRes();
@@ -8128,6 +8129,7 @@
 	currentData = document.getElementById(pageId);
 	currentData.style.display = 'block';
         activeTab = pageId;
+        toggleExternal();
         toggleUpload();
         toggleMap();
         toggleCrsRes();
Index: loncom/interface/lonextresedit.pm
diff -u loncom/interface/lonextresedit.pm:1.25 loncom/interface/lonextresedit.pm:1.26
--- loncom/interface/lonextresedit.pm:1.25	Tue May 29 19:33:48 2018
+++ loncom/interface/lonextresedit.pm	Wed Jul  4 13:55:27 2018
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Documents
 #
-# $Id: lonextresedit.pm,v 1.25 2018/05/29 19:33:48 raeburn Exp $
+# $Id: lonextresedit.pm,v 1.26 2018/07/04 13:55:27 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -458,7 +458,7 @@
         if ($type eq 'tool') {
             $link = $lt{'et'};
         }
-        $link = '<a class="LC_menubuttons_link" href="javascript:toggleUpload('."'$toggle'".');">'.$link.'</a>'.$helpitem;
+        $link = '<a class="LC_menubuttons_link" href="javascript:toggleExternal('."'$toggle'".');">'.$link.'</a>'.$helpitem;
         if ($type eq 'tool') {
             $legend = $lt{'te'};
         } else {




More information about the LON-CAPA-cvs mailing list