// Load all tabs in background after a short delay
setTimeout(function() {
var targetId = {{ target.id }};
- var tabsToLoad = ['details', 'observations', 'manage-data', 'observing-runs', 'images', 'photometry', 'spectroscopy'];
+ var tabsToLoad = ['details', 'manage-data', 'observing-runs', 'images', 'photometry', 'spectroscopy'];
tabsToLoad.forEach(function(tabName, index) {
// Stagger the loading to avoid overwhelming the server
@@ -660,6 +683,12 @@
Spectroscopy
return;
}
+ // Skip monitoring for iframes inside the observations tab
+ if ($iframe.closest('#observations').length > 0) {
+ console.log('Skipping Dash monitoring for observations tab iframe');
+ return;
+ }
+
// Generate a unique ID for this iframe
var iframeId = $iframe.attr('id') || ('dash-iframe-' + Math.random().toString(36).substr(2, 9));
if (!$iframe.attr('id')) {