File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -191,7 +191,7 @@ public static function showForSource(CommonDBTM $item)
191191 // At least 1 entry then add JS to toggle the state of zones
192192 echo Html::scriptBlock ('
193193 var plugin_carbon_toggleZone = function (id) {
194- fetch(CFG_GLPI["root_doc"] + "/" + GLPI_PLUGINS_PATH. carbon + " /ajax/toggleZoneDownload.php?id=" + id).then(response => {
194+ fetch(CFG_GLPI["root_doc"] + "/plugins/ carbon/ajax/toggleZoneDownload.php?id=" + id).then(response => {
195195 if (response.status === 200) {
196196 reloadTab();
197197 }
@@ -284,7 +284,7 @@ public static function showForZone(CommonDBTM $item)
284284 // At least 1 entry then add JS to toggle the state of zones
285285 echo Html::scriptBlock ('
286286 var plugin_carbon_toggleZone = function (id) {
287- fetch(CFG_GLPI["root_doc"] + "/" + GLPI_PLUGINS_PATH. carbon + " /ajax/toggleZoneDownload.php?id=" + id).then(response => {
287+ fetch(CFG_GLPI["root_doc"] + "/plugins/ carbon/ajax/toggleZoneDownload.php?id=" + id).then(response => {
288288 if (response.status === 200) {
289289 reloadTab();
290290 }
You can’t perform that action at this time.
0 commit comments