We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d548754 commit 9ead1a1Copy full SHA for 9ead1a1
1 file changed
js/widgets/settings_table.js
@@ -488,9 +488,12 @@ $(function() {
488
ids.push(id);
489
490
if (id in individual_composites) {
491
- widg.xmin = Math.min(widg.xmin, individual_composites[id].xmin);
492
- widg.xmax = Math.max(widg.xmax, individual_composites[id].xmax);
493
- resolve()
+ if (!confirm("Composite " + id + " already exists. Overwrite?")) {
+ reject("Composite " + id + " already exists")
+ }
494
+// widg.xmin = Math.min(widg.xmin, individual_composites[id].xmin);
495
+// widg.xmax = Math.max(widg.xmax, individual_composites[id].xmax);
496
+// resolve()
497
};
498
499
$("#metadata-table").metadata_table("add_id", widg.options.idx, id);
0 commit comments