mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-10 10:24:31 +02:00
Removed trailing slash from category and tools tree urls.
This maybe helps with the insecure loading problem on Heroku.
This commit is contained in:
parent
1c2b155adf
commit
90b33159a5
1 changed files with 2 additions and 2 deletions
|
@ -172,7 +172,7 @@ class AjaxUI {
|
||||||
text = text + " \n<span class='caret'></span>"; //Add caret or it will be removed, when written into title
|
text = text + " \n<span class='caret'></span>"; //Add caret or it will be removed, when written into title
|
||||||
switch(datasource) {
|
switch(datasource) {
|
||||||
case "categories":
|
case "categories":
|
||||||
ajaxUI.initTree("#" + target_id, 'tree/categories/');
|
ajaxUI.initTree("#" + target_id, 'tree/categories');
|
||||||
break;
|
break;
|
||||||
case "locations":
|
case "locations":
|
||||||
ajaxUI.initTree("#" + target_id, 'tree/locations');
|
ajaxUI.initTree("#" + target_id, 'tree/locations');
|
||||||
|
@ -187,7 +187,7 @@ class AjaxUI {
|
||||||
ajaxUI.initTree("#" + target_id, 'tree/suppliers');
|
ajaxUI.initTree("#" + target_id, 'tree/suppliers');
|
||||||
break;
|
break;
|
||||||
case "tools":
|
case "tools":
|
||||||
ajaxUI.initTree("#" + target_id, 'tree/tools/');
|
ajaxUI.initTree("#" + target_id, 'tree/tools');
|
||||||
break;
|
break;
|
||||||
case "devices":
|
case "devices":
|
||||||
ajaxUI.initTree("#" + target_id, 'tree/devices');
|
ajaxUI.initTree("#" + target_id, 'tree/devices');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue