Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tom Dwelly
speccy
Commits
c2c8083d
Commit
c2c8083d
authored
Jul 08, 2021
by
Tom Dwelly
Browse files
set null values of integers to -1
parent
5686af9b
Changes
1
Hide whitespace changes
Inline
Side-by-side
js/speccy.js
View file @
c2c8083d
...
...
@@ -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
])
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment