File tree Expand file tree Collapse file tree 1 file changed +18
-14
lines changed Expand file tree Collapse file tree 1 file changed +18
-14
lines changed Original file line number Diff line number Diff line change @@ -458,21 +458,25 @@ function DeleteSelectedProcessor() {
458
458
}
459
459
}
460
460
461
- $(document).ready(function () {
462
- $.ajax({
463
- url: "api/models?simple=true",
464
- method: "GET",
465
- dataType: "json",
466
- success: function(models) {
467
- models.unshift("<Use Start Channel>");
468
- SetupSelectableTableRow(tableInfo);
469
- GetOutputProcessors(models);
470
- },
471
- error: function() {
472
- console.error("Error fetching models");
473
- }
474
- });
461
+ var models = [];
475
462
463
+ $(document).ready(function () {
464
+ $.ajax({
465
+ url: "api/models?simple=true",
466
+ method: "GET",
467
+ dataType: "json",
468
+ success: function(data) {
469
+ data.unshift("<Use Start Channel>");
470
+ models = data;
471
+ SetupSelectableTableRow(tableInfo);
472
+ GetOutputProcessors(models);
473
+ },
474
+ error: function() {
475
+ models.unshift("<Use Start Channel>");
476
+ SetupSelectableTableRow(tableInfo);
477
+ GetOutputProcessors(models);
478
+ }
479
+ });
476
480
477
481
if (window.innerWidth > 600) {
478
482
$('#outputProcessorsBody').sortable({
You can’t perform that action at this time.
0 commit comments