@ -69,12 +70,23 @@ function downloadItemList(code) {
downloadlistdialogopen=false;
}
if(resp.status=="OK"){
if(typeofresp.appversion=="string"){
if(resp.appversion!=app_version){
app.dialog.alert("The sender is using "+app.name+" verson "+resp.appversion+" but you have "+app_version+". Both devices must have the same version installed.","Version Mismatch");
return;
}
}else{
app.dialog.alert("The sender is using an old version of "+app.name+". Both devices must have the same version installed.","Version Mismatch");
return;
}
varskipped=importPackageList(resp.packages);
if(skipped>0){
app.dialog.alert("List imported and merged with the existing one. "+skipped+" items already existed locally and were skipped. Verify their delivery status manually.","Import Complete");