Skip to content
Snippets Groups Projects
Commit e073bac9 authored by Sebastien's avatar Sebastien
Browse files

rekall.js refactoring

parent bc821416
Branches
Tags
1 merge request!98refresh the mosaic on annotation modification
......@@ -107,9 +107,9 @@ Rekall.prototype.loadXMLFile = function () {
//if($(this).find('document').length == 0) {
// openAlert("Start by adding files to your project.", 60);
//} else {
if (rekall.project == undefined)
rekall.project = new Project(url, that);
rekall.project.loadXML($(this));
if (that.project == undefined)
that.project = new Project(url, that);
that.project.loadXML($(this));
//}
});
}
......@@ -129,9 +129,9 @@ Rekall.prototype.loadXMLFile = function () {
if ($(this).find('document').length == 0) {
openAlert("Start by adding files to your project.", 60);
} else {
if (rekall.project == undefined)
rekall.project = new Project(url, that);
rekall.project.loadXML($(this));
if (that.project == undefined)
that.project = new Project(url, that);
that.project.loadXML($(this));
}
});
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment