git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@172 a333f486-631f-4898-b8df-5754b55c2be0
@@ -360,7 +360,7 @@ switch($operation)
$id = '';
$oObj = MetaModel::NewObject($sClass);
}
- $oP->add("<script>
+ $oP->add("<script type=\"text/javascript\">
// Fill the map between the fields of the form and the attributes of the object\n");
$aNewFieldsMap = array();