Meeting html
Jump to navigation
Jump to search
| Line 567: | Line 567: | ||
$ci(function() { | $ci(function() { | ||
| + | |||
| + | function select_country(selected_country) { | ||
| + | for(var i in obj) { | ||
| + | if(obj[i].name == selected_country) { | ||
| + | //drawMap(obj[i].lat, obj[i].long); | ||
| + | map.setView(new L.LatLng(obj[i].lat, obj[i].long), 6); | ||
| + | break; | ||
| + | } | ||
| + | } | ||
| + | } | ||
| Line 573: | Line 583: | ||
if(!selected_country) { | if(!selected_country) { | ||
$ci('#select_countries option:contains("</html>{{#ci_visitorCountry:}}<html>")').prop('selected',true); | $ci('#select_countries option:contains("</html>{{#ci_visitorCountry:}}<html>")').prop('selected',true); | ||
| + | } else { | ||
| + | select_country(selected_country); | ||
} | } | ||
$ci('#select_countries').on('change',function() { | $ci('#select_countries').on('change',function() { | ||
var selected_country = $ci(this).find('option:selected').text(); | var selected_country = $ci(this).find('option:selected').text(); | ||
| − | + | select_country(selected_country); | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
}); | }); | ||
Revision as of 21:05, 3 September 2020
This form is intended to create different kind of meetings organized by a given organization (even in the past!) or to characterize as such whatever page of it (not containing already a form).
Once the key-data are created, insert the abstract of the course editing the page using the buttons "Edit" or "Edit source" in the top panel.
![]() | The form will be created in the current page (). If you want to create the form in a new page, go here. |
