Teacher html

From Redazione
Jump to navigation Jump to search
Line 64: Line 64:
 
<!--------------------------Picture-------------------------->
 
<!--------------------------Picture-------------------------->
  
<div class="ci_form_section" id="logo_section">
+
<div class="ci_form_section" id="picture_section">
 
<span class="ci_form_section_label">
 
<span class="ci_form_section_label">
 
Picture
 
Picture
Line 458: Line 458:
  
 
$('.ci_form textarea').autosize();
 
$('.ci_form textarea').autosize();
 +
 +
 +
if("</html>{{PAGENAME}}<html>" == "FormEdit/Teacher") {
 +
$('#picture_section').hide();
 +
}
 +
 +
 +
 +
$('form').submit(function() {
 +
// ***attention !!!
 +
// otherwise pageforms will not retrieve it!
 +
$('input').removeAttr('disabled');
 +
return true;
 +
});
 +
 +
  
 
});
 
});

Revision as of 18:30, 11 March 2020