File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
libraries/WebServer/examples/SDWebServer/SdRoot/edit Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 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 ) ;
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" ) ;
You can’t perform that action at this time.
0 commit comments