biocodellc / biocode-fims

Biocode Field Information Management System
4 stars 2 forks source link

Hard-coded NAAN in biocode-fims.js #85

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The very first line of biocode-fims.js contains a hard-coded NAAN value:

// Must set global variable naan here to check a spreadsheet's naan
var naan = 21547

This should NOT be here... we need to fetch the NAAN from the defined NAAN in 
the BCID settings properties file when the fims page is loaded (try to do this 
async).  

Original issue reported on code.google.com by jdec...@gmail.com on 30 Jan 2015 at 12:03

jdeck88 commented 9 years ago

NAAN is specified in FIMS properties file so this should be a service call, like:

{FIMS_ROOT}/getNAAN

will require Javascript updates in web_nmnh and web respectively...

rodney757 commented 9 years ago

implemented in commit d5cf7cc8f1fbfea28ae528e2e1e90d3a6d01ea12