Fixed issue with select node field in adminnode

This commit is contained in:
Rooty 2024-03-03 16:11:09 +01:00
parent 32a78845d7
commit e1e3a16f29
2 changed files with 4 additions and 3 deletions

View File

@ -10,7 +10,7 @@
</ul>
<div class="tab-content container-fluid py-0 w-75 px-0">
<div class="card border-0 my-0">
<div class="card with-tab border-0 my-0">
<form id="frmNode" name="frmNode" role="form" class="form-inline px-0 container-fluid" method="post" mXattribut="action:urlActionNode">
<div class="card-header"><h3><mx:text id="TxtNodeAdd"/></h3></div>
<input type="hidden" name="user_id" mXattribut="value:user_id" class="hidden"/>

View File

@ -96,7 +96,7 @@ Class AdminNode extends CoordinationObj
/* Récupération du noeud à administrer sinon noeud d'entrée de l'admin */
$nodeId=($this->getData("nodeId")!="")?$this->getData("nodeId"):eid();
// $optList=(( (isset($_POST["optList"])) && ($_POST["optList"]!="") )?$_POST["optList"]:((isset($_GET["optList"]) && ($_GET["optList"]!=""))?$_GET["optList"]:0));
// if($optList==0)
// {
@ -182,7 +182,8 @@ Class AdminNode extends CoordinationObj
// --> recuperation du treeNode correspondant au noeud
$tabTreeNode[0]=$myTree; //--> treeNodeUnique....
printTabTreeNode($tabTreeNode, 0, "NODE", "node_id", false, "", "", "class=\"form\" required=\"true\" title=\"".htmlspecialchars(getMessage("TxtNodeIn"), ENT_QUOTES)."\"");
// printTabTreeNode($tabTreeNode, 0, "NODE", "node_id", false, "", "", "class=\"form\" required=\"true\" title=\"".htmlspecialchars(getMessage("TxtNodeIn"), ENT_QUOTES)."\"");
printTabTreeNode($tabTreeNode, 0, "listNode", "ListNode", true, "", "", "class=\"form\" required=\"true\" title=\"".htmlspecialchars(getMessage("TxtNodeIn"), ENT_QUOTES)."\"");
/* -- Fin d'affichage des noeuds d'ajout */
for ($i=0; $i<count($tab);$i++)