Change update task items modal to use POST [SCI-11489]

This commit is contained in:
Martin Artnik 2025-02-07 11:50:18 +01:00
parent bfb067cd7a
commit 76931ed0b6
2 changed files with 2 additions and 2 deletions

View file

@ -747,7 +747,7 @@ var MyModuleRepositories = (function() {
function openUpdateRecordsModal(downstream) {
var updateUrl = FULL_VIEW_MODAL.data('update-url-modal');
$.get(updateUrl, { selected_rows: SELECTED_ROWS, downstream: downstream }, function(data) {
$.post(updateUrl, { selected_rows: SELECTED_ROWS, downstream: downstream }, function(data) {
var assignList;
var assignListScrollbar;
var unassignList;

View file

@ -500,7 +500,7 @@ Rails.application.routes.draw do
post :index_dt, defaults: { format: 'json' }
post :export_repository
post :assign_repository_records_modal, as: :assign_modal
get :update_repository_records_modal, as: :update_modal
post :update_repository_records_modal, as: :update_modal
get :consume_modal
post :update_consumption
end