[Kimchi-devel] [PATCH] Bug 457 Fix
huoyuxin at linux.vnet.ibm.com
huoyuxin at linux.vnet.ibm.com
Fri Sep 19 09:06:53 UTC 2014
From: Yu Xin Huo <huoyuxin at linux.vnet.ibm.com>
Signed-off-by: Yu Xin Huo <huoyuxin at linux.vnet.ibm.com>
---
ui/js/src/kimchi.storagepool_add_main.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ui/js/src/kimchi.storagepool_add_main.js b/ui/js/src/kimchi.storagepool_add_main.js
index 618892d..4f1f943 100644
--- a/ui/js/src/kimchi.storagepool_add_main.js
+++ b/ui/js/src/kimchi.storagepool_add_main.js
@@ -351,9 +351,9 @@ kimchi.validateLogicalForm = function () {
};
kimchi.addPool = function(event) {
- $('#pool-doAdd').hide();
- $('#pool-loading').show();
if (kimchi.validateForm()) {
+ $('#pool-doAdd').hide();
+ $('#pool-loading').show();
var formData = $('#form-pool-add').serializeObject();
delete formData.authname;
var poolType = $('#poolTypeId').selectMenu('value');
--
1.7.1
More information about the Kimchi-devel
mailing list