stany.ferer 1 year ago
parent
commit
fa65a86153
2 changed files with 1 additions and 4 deletions
  1. 1 3
      core/submit/cms.tag-change.php
  2. 0 1
      core/views/pages/cms.documents-my-assign.php

+ 1 - 3
core/submit/cms.tag-change.php

@@ -3,6 +3,7 @@
 if (core::ifPost("from")) {
 
     tags::maj(core::getPost("id"), core::getPost("value"));
+    json::create("documents");
 
     historique::recRef("/tags.html");
     historique::add(array(
@@ -11,9 +12,6 @@ if (core::ifPost("from")) {
         "idPage" => historique::getIdRef("/tags.html"),
         "log" => "Modification du tag : " . core::getPost("value")
     ));
-
-    header("Location: /tags.html");
-    exit();
 } else {
     header('HTTP/1.0 401 Unauthorized');
     exit();

+ 0 - 1
core/views/pages/cms.documents-my-assign.php

@@ -2,7 +2,6 @@
     $jsonTarget = "/json.php?jsonData=documents-my-assign";
     if(core::isDebug()){
         debug::log(debug::getBadge($jsonTarget, "OUVRIR LE JSON : ".$jsonTarget), "JSON chargé en arrière plan");
-        json::create("documents");
     } 
 ?>