Commit 526c96e9 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

don't allow to click unload plugin button twice

parent ae0bd043
Pipeline #19975 passed with stage
in 12 minutes and 18 seconds
......@@ -3,6 +3,7 @@ minerva (14.0.8) stable; urgency=medium
regression 14.0.7)
* Bug fix: upload of data overlay with two entries having different uniprot
identifier but pointing to the same gene crashed (#1083)
* Bug fix: don't allow to remove plugin twice (#1081)
-- Piotr Gawron <piotr.gawron@uni.lu> Thu, 23 Jan 2020 12:00:00 +0200
......
......@@ -122,6 +122,7 @@ PluginDialog.prototype._createPluginGui = function () {
var removePlugin = (function () {
var pluginToRemove = plugin;
return function () {
$(this).attr("disabled", true);
return pluginManager.removePlugin(pluginToRemove).then(function () {
self.close();
}).then(null, GuiConnector.alert);
......
Supports Markdown
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