app/controllers/mixins/actions/vm_actions/ownership.rb
# Assign/unassign ownership to a set of objects
Assign/unassign ownership to a set of objects
Assign / unassign ownership to a set of objects
def ownership_handle_reset_button
          @in_a_form = true
          if @edit[:explorer]
            ownership
            add_flash(_("All changes have been reset"), :warning)
            request.parameters[:controller] == "service" ? replace_right_cell(:nodetype => "ownership") : replace_right_cell
          else
            javascript_redirect(:action        => 'ownership',
                                :flash_msg     => _("All changes have been reset"),
                                :flash_warning => true,
                                :escape        => true)
          end
        end
def ownership_handle_reset_button @in_a_form = true if @edit [ :explorer ] ownership add_flash ( _ ( "All changes have been reset" ) , :warning ) request . parameters [ :controller ] == "service" ? replace_right_cell ( :nodetype => "ownership" ) : replace_right_cell else javascript_redirect ( :action => 'ownership' , :flash_msg => _ ( "All changes have been reset" ) , :flash_warning => true , :escape => true ) end end
Assign/unassign ownership to a set of objects
Assign / unassign ownership to a set of objects