Changes

Jump to navigation Jump to search
m
no edit summary
Line 137: Line 137:     
get_record.then( function(result) {
 
get_record.then( function(result) {
if ( get_record.result === undefined ) { window.alert("No data to export") };
+
if ( result === undefined ) { window.alert("No data to export") } else { console.log(result) };
    
var filename_tosaveas = "pdiolocalexport_" + result.name.user + "_" + Date.now() + '.json';
 
var filename_tosaveas = "pdiolocalexport_" + result.name.user + "_" + Date.now() + '.json';
530

edits

Navigation menu