Skip to content

Commit f92c3d1

Browse files
committed
feat: Rename loadlist function to composeLoadlist for namespace clarity
1 parent b1596df commit f92c3d1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source/compose.manager/php/compose_manager_main.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434
// Timers for async operations (plugin-specific to avoid collision with Unraid's global timers)
3535
var composeTimers = {};
3636

37-
// Load stack list asynchronously (like Docker tab's loadlist)
38-
function loadlist() {
37+
// Load stack list asynchronously (namespaced to avoid conflict with Docker tab's loadlist)
38+
function composeLoadlist() {
3939
// Show spinner after short delay to avoid flash on fast loads
4040
composeTimers.load = setTimeout(function(){
4141
$('div.spinner.fixed').show('slow');
@@ -733,7 +733,7 @@ functionBefore: function(instance,helper) {
733733

734734
// Load the stack list asynchronously (like Docker tab)
735735
// This defers the expensive docker commands to after the page renders
736-
loadlist();
736+
composeLoadlist();
737737
});
738738

739739
function addStack() {
@@ -770,7 +770,7 @@ function(data) {
770770
// Open the editor modal for the newly created stack
771771
openEditorModalByProject(response.project, response.projectName);
772772
// Refresh the list in the background
773-
loadlist();
773+
composeLoadlist();
774774
} else {
775775
swal({
776776
title: "Failed to create stack",

0 commit comments

Comments
 (0)