Digital library html
Jump to navigation
Jump to search
Line 478: | Line 478: | ||
− | $(function(){ | + | $ci(function(){ |
/* | /* | ||
$('#select_countries option:contains("</html>{{#ci_visitorCountry:}}<html>")').prop('selected',true); | $('#select_countries option:contains("</html>{{#ci_visitorCountry:}}<html>")').prop('selected',true); | ||
*/ | */ | ||
− | $('.ci_form textarea').autosize(); | + | $ci('.ci_form textarea').autosize(); |
if("</html>{{PAGENAME}}<html>" == "FormEdit/Digital library") { | if("</html>{{PAGENAME}}<html>" == "FormEdit/Digital library") { | ||
− | $('#logo_section').hide(); | + | $ci('#logo_section').hide(); |
} | } | ||
Line 493: | Line 493: | ||
− | $('form').submit(function() { | + | $ci('form').submit(function() { |
// ***attention !!! | // ***attention !!! | ||
// otherwise pageforms will not retrieve it! | // otherwise pageforms will not retrieve it! | ||
− | $('input').removeAttr('disabled'); | + | $ci('input').removeAttr('disabled'); |
return true; | return true; | ||
}); | }); |
Revision as of 22:58, 7 July 2020