mirror of
https://github.com/cds-astro/aladin-lite.git
synced 2026-01-08 03:12:43 -08:00
previous next states for obscore table
This commit is contained in:
@@ -106,7 +106,15 @@ export let Source = (function() {
|
||||
'name': this.catalog.name,
|
||||
'color': this.catalog.color
|
||||
};
|
||||
view.aladin.measurementTable.showMeasurement([singleSourceTable]);
|
||||
|
||||
let options = {};
|
||||
if (this.catalog.isObsCore()) {
|
||||
// If the source is obscore, save the table state inside the measurement table
|
||||
// This is used to go back from a possible datalink table to the obscore one
|
||||
options["save"] = true;
|
||||
}
|
||||
|
||||
view.aladin.measurementTable.showMeasurement([singleSourceTable], options);
|
||||
}
|
||||
else if (this.catalog.onClick=='showPopup') {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user