Skip to content
Snippets Groups Projects
Commit 76966e4d authored by Piotr Gawron's avatar Piotr Gawron
Browse files

Merge branch '791-double-click-on-remove' into 'devel_12.2.x'

disable button after removing data overlay

See merge request !752
parents 31378deb d79e8db1
No related branches found
No related tags found
2 merge requests!759Merge 12.2.3,!752disable button after removing data overlay
Pipeline #9930 passed
......@@ -2,6 +2,8 @@ minerva (12.2.3) stable; urgency=medium
* Bug fix: sorting of entries in "Edit project->overlays" dialog fixed (#790)
* Bug fix: searching of chemicals stopped working due to expired SSL
certificate on https://ctdbase.org/
* Bug fix: remove button is disabled after starting removing of the data
overlay (#791)
-- Piotr Gawron <piotr.gawron@uni.lu> Wed, 24 Apr 2019 17:00:00 +0200
......
......@@ -435,6 +435,7 @@ EditProjectDialog.prototype._createOverlayTable = function () {
$(overlaysTable).on("click", "[name='removeOverlay']", function () {
var button = this;
$(button).attr("disabled", true);
return self.removeOverlay(parseInt($(button).attr("data"))).then(null, GuiConnector.alert);
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment