[Ovirt-devel] [PATCH] added confirmation dialogs for remaining actions
Hugh O. Brock
hbrock at redhat.com
Tue May 27 17:49:28 UTC 2008
On Tue, May 27, 2008 at 01:35:11PM -0400, Scott Seago wrote:
> Scott Seago wrote:
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Ovirt-devel mailing list
>> Ovirt-devel at redhat.com
>> https://www.redhat.com/mailman/listinfo/ovirt-devel
> Trying again with the patch sufficiently mangled...
> >From 57e45b26956bc8349ce57fd854e104371e7461ba Mon Sep 17 00:00:00 2001
> From: Scott Seago <sseago at redhat.com>
> Date: Tue, 27 May 2008 13:33:03 -0400
> Subject: [PATCH] fixed a copy-and-paste bug in my last patch
>
>
> Signed-off-by: Scott Seago <sseago at redhat.com>
> ---
> wui/src/app/controllers/vm_controller.rb | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/wui/src/app/controllers/vm_controller.rb b/wui/src/app/controllers/vm_controller.rb
> index 8e6d7f8..9bfd665 100644
> --- a/wui/src/app/controllers/vm_controller.rb
> +++ b/wui/src/app/controllers/vm_controller.rb
> @@ -108,7 +108,8 @@ class VmController < ApplicationController
> vms.each do |vm|
> vm.destroy
> end
> - end render :json => { :object => "vm", :success => true,
> + end
> + render :json => { :object => "vm", :success => true,
> :alert => "Virtual Machines were successfully deleted." }
> rescue
> render :json => { :object => "vm", :success => false,
> --
ACK and committed
--H
More information about the ovirt-devel
mailing list