File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 6
6
< meta name ="viewport " content ="width=device-width, initial-scale=1 ">
7
7
< title > ESP3D WebUI</ title >
8
8
< script > var target_firmware = "" ; </ script >
9
- < script > var web_ui_version = "0.9.53 " ; </ script >
9
+ < script > var web_ui_version = "0.9.54 " ; </ script >
10
10
< script > var direct_sd = false ; </ script >
11
11
< script > var fw_version = "" ; </ script >
12
12
< script > var primary_sd = "/ext/" ; </ script >
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ function init_files_panel(){
24
24
if ( ! ( ( target_firmware == "marlin" ) || ( target_firmware == "???" ) ) ) document . getElementById ( 'files_createdir_btn' ) . style . display = "inline" ;
25
25
else document . getElementById ( 'files_createdir_btn' ) . style . display = "none" ;
26
26
files_set_button_as_filter ( files_filter_sd_list ) ;
27
- files_refreshFiles ( files_currentPath ) ;
27
+ if ( direct_sd ) files_refreshFiles ( files_currentPath ) ;
28
28
}
29
29
30
30
function files_set_button_as_filter ( isfilter ) {
Original file line number Diff line number Diff line change 19
19
< td > </ td >
20
20
< td > < span id ="files_currentPath " > </ span > </ td >
21
21
< td > </ td >
22
- < td > < div id ="files_nav_loader " style ="width:1em;height:1em " class ="loader "> </ div > </ td >
22
+ < td > < div id ="files_nav_loader " style ="width:1em;height:1em " class ="loader hide_it "> </ div > </ td >
23
23
< tr >
24
24
</ table >
25
25
</ div >
57
57
</ div >
58
58
</ div >
59
59
< div class ="panel-body panel-height panel-max-height panel-scroll ">
60
- < div id ="files_list_loader " class ="loader " style ="margin:auto "> </ div >
60
+ < div id ="files_list_loader " class ="loader hide_it " style ="margin:auto "> </ div >
61
61
< ul class ="list-group " id ="files_fileList ">
62
62
</ ul >
63
63
</ div >
You can’t perform that action at this time.
0 commit comments