|
@@ -174,9 +174,9 @@
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
- <div class="col-md-7">
|
|
|
|
|
|
|
+ <div class="col-md-7" id="target-system-wrapper" style="display: none;">
|
|
|
<h5 class="mb-3 text-success">Target System Attributes (Drop)</h5>
|
|
<h5 class="mb-3 text-success">Target System Attributes (Drop)</h5>
|
|
|
- <div id="system-columns" class="drop-zone-container">
|
|
|
|
|
|
|
+ <div id="system-columns" class="drop-zone-container" >
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -318,6 +318,7 @@
|
|
|
|
|
|
|
|
// Re-enable drag-and-drop for new items
|
|
// Re-enable drag-and-drop for new items
|
|
|
enableDragDrop();
|
|
enableDragDrop();
|
|
|
|
|
+ $("#target-system-wrapper").show();
|
|
|
};
|
|
};
|
|
|
reader.readAsArrayBuffer(file);
|
|
reader.readAsArrayBuffer(file);
|
|
|
});
|
|
});
|
|
@@ -407,6 +408,12 @@
|
|
|
});
|
|
});
|
|
|
// Show all uploaded columns again
|
|
// Show all uploaded columns again
|
|
|
$(".drag-item").show();
|
|
$(".drag-item").show();
|
|
|
|
|
+
|
|
|
|
|
+ // **NEW LINES: Hide system columns and reset uploaded list**
|
|
|
|
|
+ // $("#target-system-wrapper").hide();
|
|
|
|
|
+ // $("#uploaded-columns").empty().append(`<p class="text-center text-muted" id="upload-placeholder">Upload a file to see columns here.</p>`);
|
|
|
|
|
+ // $("#upload-placeholder").show();
|
|
|
|
|
+ // $("#fileUpload").val(''); // Clear file input value
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
// --- Save Button with Validation ---
|
|
// --- Save Button with Validation ---
|