Project

General

Profile

Actions

Patch #31205

closed

Replace jquery-rails with vanilla javascript ujs

Added by Marius BĂLTEANU almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Code cleanup/refactoring
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

When the migration to Rails 5.2 was made, the "Unobtrusive JavaScript" was reverted to jquery-rails instead of vanilla js (#26518 for more details).

Because we cannot stick for ever with the old jquery-rails library, I've updated the ui-rails to the latest version and fixed in the proper way #26518.

I propose to commit this patch as soon as possible in order to have enough time to find another possible issues (I've tested roughly other screens that are using the remote feature and I didn't find other problems).


Files

0001-Update-Rails-ujs.patch.zip (195 KB) 0001-Update-Rails-ujs.patch.zip Marius BĂLTEANU, 2019-04-18 17:27

Related issues

Related to Redmine - Defect #26518: Rails 5: Adding a block in My Page causes "Invalid form authenticity token."ClosedJean-Philippe Lang

Actions
Actions

Also available in: Atom PDF