Commit 29165440 authored by ba yaye-awa's avatar ba yaye-awa
Browse files

change the SAMP url to send to cassis

parent 6503cea0
......@@ -2183,7 +2183,7 @@ var SAMPPNGPublishControl = (function (Control) {
var _sendSpectrum = function(connection) {
console.log("var _sendSpectrum = function(connection) {: entering");
var baseUrl = window.location.origin;
var tabUrl = baseUrl+"/fits/"+_spectrumPath;
var tabUrl = baseUrl+_spectrumPath;
var msg = new samp.Message("table.load.fits", {"table-id": "spectrum", "url": tabUrl, "name": "Artemix"});
connection.notifyAll([msg]);
console.log("var _sendSpectrum = function(connection) {: exiting");
......@@ -2223,7 +2223,7 @@ var SAMPPNGPublishControl = (function (Control) {
var _sendAverageSpectrum = function(connection) {
console.log("var _sendAverageSpectrum = function(connection) {: entering");
var baseUrl = window.location.origin;
var tabUrl = baseUrl+"/fits"+_averageSpectrumPath;
var tabUrl = baseUrl+_averageSpectrumPath;
var msg = new samp.Message("table.load.fits", {
"table-id": "spectrum average",
"url": tabUrl,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment