[Kimchi-devel] [PATCH] Bugfix#527 Reverting a snapshot doesn't change initial state of "Edit Guest"

Wen Wang wenwang at linux.vnet.ibm.com
Mon Dec 15 02:32:02 UTC 2014


Thanks Daniel. Sorry about the typo. Patch V2 has been sent.
在 12/12/14 7:02 PM, Daniel Henrique Barboza 写道:
> Patch is good, just fix the typo in the commit msg.
>
> Close *dialog* when reverting a VM finished.
>
>
>
> On 12/12/2014 04:08 AM, wenwang at linux.vnet.ibm.com wrote:
>> From: Wen Wang <wenwang at linux.vnet.ibm.com>
>>
>> Close diaguage when reverting a VM finished.
>>
>> Signed-off-by: Wen Wang <wenwang at linux.vnet.ibm.com>
>> ---
>>   ui/js/src/kimchi.guest_edit_main.js | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/ui/js/src/kimchi.guest_edit_main.js 
>> b/ui/js/src/kimchi.guest_edit_main.js
>> index 4f497e5..5c2def6 100644
>> --- a/ui/js/src/kimchi.guest_edit_main.js
>> +++ b/ui/js/src/kimchi.guest_edit_main.js
>> @@ -564,6 +564,7 @@ kimchi.guest_edit_main = function() {
>>                       $(".icon", item).addClass("hide");
>>                       $("button", 
>> "#form-guest-edit-snapshot").button("enable");
>>                       setCurrentSnapshot(item.prop("id"));
>> +                    kimchi.window.close();
>>                   }, function(data){
>> kimchi.message.error(data.responseJSON.reason);
>>                       $(".icon", item).addClass("hide");
>
> _______________________________________________
> Kimchi-devel mailing list
> Kimchi-devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/kimchi-devel
>




More information about the Kimchi-devel mailing list