Log Accessible in UI now (log button in footer of settings menu).

This commit is contained in:
ebolam
2022-09-21 13:48:20 -04:00
parent a123f258b3
commit a4160cc4fe
3 changed files with 3 additions and 3 deletions

View File

@@ -2016,7 +2016,6 @@ function process_log_message(data) {
//put log message in log popup
log_popup = document.getElementById('log_popup');
log_popup.classList.remove("hidden");
log_popup_data = log_popup.querySelector("#popup_list_area")
//clear out the error box
for (item of data['html']) {
@@ -3281,6 +3280,7 @@ function close_menus() {
document.getElementById("advanced_theme_editor").classList.add("hidden");
document.getElementById("context-viewer-container").classList.add("hidden");
document.getElementById("save_preset").classList.add("hidden");
document.getElementById("log_popup").classList.add("hidden");
//unselect sampler items
for (temp of document.getElementsByClassName("sample_order")) {

View File

@@ -140,7 +140,7 @@
</div>
<div class="popup_load_cancel">
<button type="button" class="btn btn-primary popup_load_cancel_button" onclick="document.getElementById('error_message').classList.add('hidden');">Ok</button>
<button type="button" class="btn btn-primary popup_load_cancel_button" onclick="document.getElementById('log_popup').classList.add('hidden');">Ok</button>
</div>
</div>
<!---------------- Advanced Theme Editor ---------------------->

View File

@@ -391,6 +391,6 @@
</div>
<div id="settings_footer" class="settings_footer">
<span>Execution Time: <span id="Execution Time"></span></span> |
<span>Remaining Time: <span class="var_sync_model_tqdm_rem_time"></span></span> | <span id="var_time"></span>
<span>Remaining Time: <span class="var_sync_model_tqdm_rem_time"></span></span> | <a onclick='document.getElementById("log_popup").classList.remove("hidden");'>Log</a>
</div>
</div>