def delete_saved_query  #:nodoc:
      init
      if sq = @query_store_model.find_by_id_and_grid_name(params[:id], @grid_name)
        if sq.destroy
          if params[:current]
            @current = @query_store_model.find_by_id_and_grid_name(params[:current], @grid_name)
          end
          @notification_messages = NlMessage['query_deleted_message']
        else
          @error_messages = sq.errors.full_raw_messages.join(' ')
        end
      end

      render_asyns_result
    end
def delete_saved_query  #:nodoc:
      init
      if sq = @query_store_model.find_by_id_and_grid_name(params[:id], @grid_name)
        if sq.destroy
          if params[:current]
            @current = @query_store_model.find_by_id_and_grid_name(params[:current], @grid_name)
          end
          @notification_messages = NlMessage['query_deleted_message']
        else
          @error_messages = sq.errors.full_raw_messages.join(' ')
        end
      end

      render_asyns_result
    end
:nodoc: