Commit c2c8083d authored by Tom Dwelly's avatar Tom Dwelly
Browse files

set null values of integers to -1

parent 5686af9b
......@@ -1031,11 +1031,11 @@ function submitVIinfo(){
var FD = new FormData();
//gather the data
var plate = "-";
var plate = "-1";
var mjd = "-";
var fiberid = "-";
var ra = "-";
var dec = "-";
var fiberid = "-1";
var ra = "-99.9";
var dec = "-99.9";
var z_conf_person = $("input[type='radio'][name='z_conf_person']:checked").val();
var class_person = $("input[type='radio'][name='class_person']:checked").val();
var issue = document.getElementById("issueSelect").value;
......@@ -1044,9 +1044,9 @@ function submitVIinfo(){
var is_interesting = $('#isInteresting').is(":checked");
var run1d = "-";
var run2d = "-";
var field = '-'; // new for SDSS-V
var designid = '-';
var catalogid = '-';
var field = '-1'; // new for SDSS-V
var designid = '-1';
var catalogid = '-1';
for(var i=0;i<nkeys;i++)
{
switch (keynames[i]) {
......
Markdown is supported
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