[Kimchi-devel] [PATCH] [Kimchi] Fix screen freezing when upload file for storage volume
Socorro Stoppler
socorro at linux.vnet.ibm.com
Thu Dec 10 00:49:01 UTC 2015
Signed-off-by: Socorro Stoppler <socorro at linux.vnet.ibm.com>
---
ui/js/src/kimchi.storage_main.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ui/js/src/kimchi.storage_main.js b/ui/js/src/kimchi.storage_main.js
index 29ee365..cd24f10 100644
--- a/ui/js/src/kimchi.storage_main.js
+++ b/ui/js/src/kimchi.storage_main.js
@@ -450,7 +450,7 @@ kimchi.storage_main = function() {
};
var uriElements = result.target_uri.split('/');
- var poolName = uriElements[2];
+ var poolName = uriElements[4];
var volumeName = uriElements.pop();
var progress = extractProgressData(result['message']);
var size = progress['size'];
@@ -467,7 +467,7 @@ kimchi.storage_main = function() {
wok.topic('kimchi/volumeTransferFinished').subscribe(function(result) {
var uriElements = result.target_uri.split('/');
- var poolName = uriElements[2];
+ var poolName = uriElements[4];
var volumeName = uriElements.pop();
var volumeBox = $('#volume' + poolName + ' [data-volume-name="' + volumeName + '"]');
$('.volume-progress', volumeBox).addClass('hidden');
--
1.9.1
More information about the Kimchi-devel
mailing list