[Kimchi-devel] [PATCH] UI: Enable virtual NIC hot plug/unplug
Rodrigo Trujillo
rodrigo.trujillo at linux.vnet.ibm.com
Tue May 26 04:18:25 UTC 2015
Reviewed-by: Rodrigo Trujillo <rodrigo.trujillo at linux.vnet.ibm.com>
On 05/22/2015 04:12 PM, Aline Manera wrote:
> Signed-off-by: Aline Manera <alinefm at linux.vnet.ibm.com>
> ---
> ui/js/src/kimchi.guest_edit_main.js | 7 +------
> 1 file changed, 1 insertion(+), 6 deletions(-)
>
> diff --git a/ui/js/src/kimchi.guest_edit_main.js b/ui/js/src/kimchi.guest_edit_main.js
> index 9c088aa..387dbac 100644
> --- a/ui/js/src/kimchi.guest_edit_main.js
> +++ b/ui/js/src/kimchi.guest_edit_main.js
> @@ -1,7 +1,7 @@
> /*
> * Project Kimchi
> *
> - * Copyright IBM, Corp. 2013-2014
> + * Copyright IBM, Corp. 2013-2015
> *
> * Licensed under the Apache License, Version 2.0 (the "License");
> * you may not use this file except in compliance with the License.
> @@ -180,10 +180,6 @@ kimchi.guest_edit_main = function() {
> var itemNode = $.parseHTML(kimchi.substitute($('#interface-tmpl').html(),data));
> $(".body", "#form-guest-edit-interface").append(itemNode);
> $("select", itemNode).append(networkOptions);
> - if(kimchi.thisVMState === "running") {
> - $("#form-guest-edit-interface .delete").remove();
> - $("#form-guest-edit-interface .edit").remove();
> - }
> if(data.network!==""){
> $("select", itemNode).val(data.network);
> }
> @@ -642,7 +638,6 @@ kimchi.guest_edit_main = function() {
> });
> if(kimchi.thisVMState === "running") {
> $("#form-guest-edit-general input").prop("disabled", true);
> - $("#form-guest-edit-interface .header button").remove();
> } else {
> $("#action-button-container").removeClass("hidden");
> }
More information about the Kimchi-devel
mailing list