Commit 2f7a2aac authored by Piotr Gawron's avatar Piotr Gawron
Browse files

allow to reupload data overlay file without closing dialog

parent 5d252147
......@@ -9,6 +9,8 @@ minerva (12.3.1~beta.1) unstable; urgency=low
* Bug fix: invisible layer shouldn't be shown in the on th map (#813)
* Bug fix: list of availbale annotators is sorted alphabetically (#815)
* Bug fix: redirect url from export panel is fixed (#819)
* Bug fix: allow to reupload the same file without closing add overlay dialog
(#833)
* Bug fix: protein types are sorted properly in "Select valid annotations"
dialog (#815)
* Bug fix: if there is a description of (sub)map then it is available in
......
......@@ -94,7 +94,9 @@ AddOverlayDialog.prototype.createGui = function () {
name: "overlay-file"
});
fileInput.addEventListener("change", function () {
return self.processFile(fileInput.files[0]).then(null, GuiConnector.alert);
return self.processFile(fileInput.files[0]).then(function () {
$(fileInput).val("");
}).catch(GuiConnector.alert);
}, false);
content.appendChild(fileInput);
content.appendChild(guiUtils.createNewLine());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment