Commit c5cda4c84c566bb84bd0523baa7ef836ff62f3f8
1 parent
22472c6623
Exists in
master
colocado que solo se pueden cargar hasta 6 posibles jurados
Showing
1 changed file
with
6 additions
and
1 deletions
Show diff stats
app/Resources/views/solicitudes/ascenso.html.twig
| ... | ... | @@ -137,6 +137,7 @@ |
| 137 | 137 | {{ parent() }} |
| 138 | 138 | <script type="text/javascript" src="{{ asset('assets/vendor/chosen/chosen.jquery.min.js') }}"></script> |
| 139 | 139 | <script type="text/javascript"> |
| 140 | + | |
| 140 | 141 | $('#ascenso_tipoTrabajoInvestigacion').click(function() { |
| 141 | 142 | |
| 142 | 143 | $('.esc_oposicion')[this.checked ? "show" : "hide"](); |
| ... | ... | @@ -222,7 +223,11 @@ |
| 222 | 223 | }); |
| 223 | 224 | }); |
| 224 | 225 | |
| 225 | - $("#ascenso_tutores_ascenso").chosen({no_results_text: "<a data-toggle='modal' data-target='#buscarTutores' href='#'>Tutor no registrado, click aquí para registrar!</a>"}); | |
| 226 | + $("#ascenso_tutores_ascenso").chosen({ | |
| 227 | + no_results_text: "<a data-toggle='modal' data-target='#buscarTutores' href='#'>Tutor no registrado, click aquí para registrar!</a>", | |
| 228 | + max_selected_options: 6 | |
| 229 | + | |
| 230 | + }); | |
| 226 | 231 | |
| 227 | 232 | </script> |
| 228 | 233 | {% endblock %} | ... | ... |