[Kimchi-devel] [PATCH] [Kimchi 3/3] Bug fix: Disable "Search More ISOs" button on create Template dialog when the operation is in progress
Aline Manera
alinefm at linux.vnet.ibm.com
Fri Sep 23 12:21:33 UTC 2016
After clicking on "Search More ISOs", the button kept enabled, so user
can click it again and again. So disable the button, when the operation
is in progress to avoid multiple requests for the same thing.
Signed-off-by: Aline Manera <alinefm at linux.vnet.ibm.com>
---
ui/js/src/kimchi.template_add_main.js | 1 +
1 file changed, 1 insertion(+)
diff --git a/ui/js/src/kimchi.template_add_main.js b/ui/js/src/kimchi.template_add_main.js
index aa76fcc..ebb5c12 100644
--- a/ui/js/src/kimchi.template_add_main.js
+++ b/ui/js/src/kimchi.template_add_main.js
@@ -213,6 +213,7 @@ kimchi.template_add_main = function() {
wok.confirm(settings, function() {
$('#iso-more').hide();
$('#iso-more-loading').show();
+ $('#iso-more-loading').attr('disabled', 'disabled');
deepScan('#iso-more');
});
});
--
2.5.5
More information about the Kimchi-devel
mailing list