Просмотр исходного кода

Arreglado responsables y desplegable titulaciones en el calendar

Mario Martínez Hernández 2 месяцев назад
Родитель
Сommit
09cb0fb66e

+ 1 - 1
src/main/resources/templates/adminCalendar.html

@@ -499,7 +499,7 @@
 				$("#ecentresSelector").html(data).selectpicker('refresh'); 
 				$('#ecentresSelector').val(tmpEvent.centres).trigger('change');
 				var params = {'procedure':$('#eproceduresSelector').val(), 'centers[]':$('#ecentresSelector').val()};
-				$.post("/ajax/find/titulations2", params, function(data){ 
+				$.post("/ajax/find/titulacions2", params, function(data){ 
 					$("#etitulacionsSelector").html(data).selectpicker('refresh'); 
 					$('#etitulacionsSelector').val(tmpEvent.titulacions).trigger('change');
 				});

+ 2 - 2
src/main/resources/templates/components/selector_titulacions_managers.html

@@ -1,4 +1,4 @@
 <option th:each="item : ${sup_titulacions}" 
-        th:text="${#locale.language == 'es' ? item.nomCas : item.nomVal}" 
-        th:value="${item.lugar}">
+        th:text="${#locale.language == 'es' ? item.text : item.text2}" 
+        th:value="${item.value}">
 </option>