-
-
diff --git a/lib/object_coordination/adminobject/adminobject.php b/lib/object_coordination/adminobject/adminobject.php
index e593468..bfe8ef3 100755
--- a/lib/object_coordination/adminobject/adminobject.php
+++ b/lib/object_coordination/adminobject/adminobject.php
@@ -592,7 +592,7 @@ Class AdminObject extends CoordinationObj
{
$this->autoRegister();
- $arrayRawJs[] = "function imgPicto(){if(document.getElementById){if(document.getElementById(\"configObject\")){document.getElementById(\"pictoObject\").src=\"data/image/icons/object/\"+document.getElementById(\"configObject\").iconeN.options[(document.getElementById(\"configObject\").iconeN.selectedIndex)].value;}}else if(document.all){if(document.all[\"configObject\"]){document.all[\"pictoObject\"].src=\"data/image/icons/object/\"+document.all[\"configObject\"].iconeN.options[(document.all[\"configObject\"].iconeN.selectedIndex)].value;}}}imgPicto();";
+ $arrayRawJs[] = "function imgPicto(){if(document.getElementById){if(document.getElementById(\"configObject\")){document.getElementById(\"pictoObject\").src=\"data/image/icons/object/\"+document.getElementById(\"configObject\").iconeN.options[(document.getElementById(\"configObject\").iconeN.selectedIndex)].value;}}else if(document.all){if(document.all[\"configObject\"]){document.all[\"pictoObject\"].src=\"data/image/icons/object/\"+document.all[\"configObject\"].iconeN.options[(document.all[\"configObject\"].iconeN.selectedIndex)].value;}}}imgPicto();function imgTemplate(){if(document.getElementById){var obj=document.getElementById(\"TEMPLATE_ADMIN\");document.getElementById(\"screenTemplate\").src=\"data/template/\"+obj.options[(obj.selectedIndex)].value+\"/preview.png\";}else{var obj=document.all[\"TEMPLATE_ADMIN\"];document.all[\"screenTemplate\"].src=\"data/template/\"+obj.options[(obj.selectedIndex)].value+\"/preview.png\";}}imgTemplate();";
mxRawJs($arrayRawJs);
/* Récuperation du radio sélectionné */