[Kimchi-devel] [PATCH] [Kimchi] Fix screen freezing when upload file for storage volume
Socorro Stoppler
socorro at linux.vnet.ibm.com
Thu Dec 10 20:15:26 UTC 2015
Please ignore this patch. Resending a new one (should've just done an
amend, but I did a reset so I lost my commit). Thanks.
On 12/10/2015 03:54 AM, Rodrigo Trujillo wrote:
> Socorro, I have just tested the patch in Firefox.
> I still see the problem ... screen becomes white and freezes.
> Am I missing some other patch ? Because line numbers are different
> from what is upstream
>
> Rodrigo Trujillo
>
> On 12/09/2015 10:49 PM, Socorro Stoppler wrote:
>> 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');
>
More information about the Kimchi-devel
mailing list