Line 137:
Line 137:
get_record.then( function(result) {
get_record.then( function(result) {
+
console.log("happening");
if ( result === undefined ) { window.alert("No data to export") } else { console.log(result) };
if ( result === undefined ) { window.alert("No data to export") } else { console.log(result) };