Fix for default URL in Horde Mode

This commit is contained in:
ebolam 2022-09-15 18:55:36 -04:00
parent 8eb4cd36ad
commit 7146a063ce
1 changed files with 2 additions and 1 deletions

View File

@ -2912,6 +2912,7 @@ $(document).ready(function(){
$("#oaimodel").addClass("hidden")
buildLoadModelList(msg.data, msg.menu, msg.breadcrumbs, msg.showdelete);
} else if(msg.cmd == 'selected_model_info') {
console.log(msg);
enableButtons([load_model_accept]);
$("#oaimodel").addClass("hidden")
$("#oaimodel")[0].options[0].selected = true;
@ -2945,7 +2946,7 @@ $(document).ready(function(){
if (msg.url) {
$("#modelurl").removeClass("hidden");
if (msg.default_url != null) {
$("#modelurl").value = msg.default_url;
document.getElementById("modelurl").value = msg.default_url;
}
} else {
$("#modelurl").addClass("hidden");