You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
console.warn(`[Apps] No instances container found for ${app}, connection status checking may not work`);
268
+
}
269
+
}else{
270
+
console.log(`[Apps] Skipping connection status setup for ${app} (supported: ${supportedApps.includes(app)}, function available: ${typeofSettingsForms.setupInstanceManagement})`);
271
+
}
272
+
257
273
// Store original form values after form is generated
258
274
this.storeOriginalFormValues(appPanel);
259
275
@@ -281,18 +297,18 @@ const appsModule = {
281
297
console.log(`Adding form change listeners to form with app type: ${form.getAttribute('data-app-type')}`);
282
298
283
299
// Function to handle form element changes
284
-
consthandleChange=()=>{
300
+
consthandleChange=(event)=>{
285
301
// Skip if test connection suppression is active
286
-
if(window._suppressUnsavedChangesDialog===true){
287
-
console.log('Change detection suppressed due to test connection');
console.log(`[Apps] MutationObserver suppressed due to test connection or status updates (flags: _suppressUnsavedChangesDialog=${window._suppressUnsavedChangesDialog}, _appsSuppressChangeDetection=${window._appsSuppressChangeDetection})`);
383
407
return;
384
408
}
385
409
386
-
console.log('Instances container changed - checking for form changes');
410
+
console.log('[Apps] Instances container changed - checking for form changes');
387
411
if(this.hasFormChanges(form)){
388
-
console.log('Form changed, enabling save button');
412
+
console.log('[Apps] Form changed via MutationObserver, enabling save button');
389
413
this.markAppsAsChanged();
390
414
}else{
391
-
console.log('No actual changes, save button remains disabled');
415
+
console.log('[Apps] No actual changes via MutationObserver, save button remains disabled');
0 commit comments