Explorar o código

Correct "script" tag... just in case...

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@172 a333f486-631f-4898-b8df-5754b55c2be0
dflaven %!s(int64=15) %!d(string=hai) anos
pai
achega
2a62fd9449
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      pages/UI.php

+ 1 - 1
pages/UI.php

@@ -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();