From 90b33159a5b2038b0cdd30eaf946cf6fc9440634 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Fri, 5 Apr 2019 23:15:40 +0200 Subject: [PATCH] Removed trailing slash from category and tools tree urls. This maybe helps with the insecure loading problem on Heroku. --- assets/ts_src/ajax_ui.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/ts_src/ajax_ui.ts b/assets/ts_src/ajax_ui.ts index 337886f9..d8763682 100644 --- a/assets/ts_src/ajax_ui.ts +++ b/assets/ts_src/ajax_ui.ts @@ -172,7 +172,7 @@ class AjaxUI { text = text + " \n"; //Add caret or it will be removed, when written into title switch(datasource) { case "categories": - ajaxUI.initTree("#" + target_id, 'tree/categories/'); + ajaxUI.initTree("#" + target_id, 'tree/categories'); break; case "locations": ajaxUI.initTree("#" + target_id, 'tree/locations'); @@ -187,7 +187,7 @@ class AjaxUI { ajaxUI.initTree("#" + target_id, 'tree/suppliers'); break; case "tools": - ajaxUI.initTree("#" + target_id, 'tree/tools/'); + ajaxUI.initTree("#" + target_id, 'tree/tools'); break; case "devices": ajaxUI.initTree("#" + target_id, 'tree/devices');