Преглед изворни кода

Weird bug found in course-settings when using the select_theme, the accordion gets freeze trying to fix it

Julio Montoya пре 13 година
родитељ
комит
07cca6fb87
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      main/course_info/infocours.php

+ 2 - 2
main/course_info/infocours.php

@@ -322,8 +322,8 @@ if (api_get_setting('allow_course_theme') == 'true') {
     $form->addGroup($group, '', array(get_lang("AllowLearningPathTheme")), '<div></div>');
     
 	$group = array();
-	$group[]=$form->createElement('select_theme', 'course_theme', get_lang('Theme'));
-    $form->addGroup($group, '', array(get_lang("Theme")), '<div></div>');
+	$group[]=$form->createElement('select_theme', 'course_theme', null);
+    $form->addGroup($group, '', array(get_lang("Stylesheets")), '<div></div>');
 }
 
 if (is_settings_editable()) {