mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-16 10:06:57 +08:00
Change update task items modal to use POST [SCI-11489]
This commit is contained in:
parent
bfb067cd7a
commit
76931ed0b6
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue