Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ab197e1

Browse filesBrowse files
authored
Fix - wrong path to file (espressif#6505)
1 parent 1e388a2 commit ab197e1
Copy full SHA for ab197e1

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
  • libraries/WebServer/examples/SDWebServer/SdRoot/edit
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎libraries/WebServer/examples/SDWebServer/SdRoot/edit/index.htm

Copy file name to clipboardExpand all lines: libraries/WebServer/examples/SDWebServer/SdRoot/edit/index.htm
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@
375375

376376
function createTreeLeaf(path, name, size){
377377
var leaf = document.createElement("li");
378-
leaf.id = (((path == "/")?"":path)+"/"+name).toLowerCase();
378+
leaf.id = name.toLowerCase();
379379
var label = document.createElement("span");
380380
label.textContent = name.toLowerCase();
381381
leaf.appendChild(label);
@@ -398,7 +398,7 @@
398398
var leaf = document.createElement("li");
399399
var check = document.createElement("input");
400400
check.type = "checkbox";
401-
check.id = (((path == "/")?"":path)+"/"+name).toLowerCase();
401+
check.id = name.toLowerCase();
402402
if(typeof disabled !== "undefined" && disabled) check.disabled = "disabled";
403403
leaf.appendChild(check);
404404
var label = document.createElement("label");

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.