Scott Seago
2008-May-27 17:33 UTC
[Ovirt-devel] [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, -- 1.5.4.1 --------------090607030702060505040307--