Patch #31205
closedReplace jquery-rails with vanilla javascript ujs
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
Updated by Marius BĂLTEANU over 7 years ago
- Related to Defect #26518: Rails 5: Adding a block in My Page causes "Invalid form authenticity token." added
Updated by Go MAEDA over 7 years ago
- Status changed from New to Needs feedback
- Assignee set to Marius BĂLTEANU
Updated by Marius BĂLTEANU over 7 years ago
- File 0001-Update-Rails-ujs.patch.zip 0001-Update-Rails-ujs.patch.zip added
- Status changed from Needs feedback to New
- Assignee deleted (
Marius BĂLTEANU)
Go MAEDA wrote:
I see the following error after applying the patch:
[...]
It is normal, I've attached an incomplete patch, sorry for that.
Please try the new one, it is zip because the patch size is greater than 600.
Updated by Marius BĂLTEANU over 7 years ago
- File deleted (
0001-Update-Rails-ujs.patch)
Updated by Go MAEDA over 7 years ago
- Target version set to 4.1.0
Committed the patch. Thank you.
Updated by Marius BĂLTEANU over 7 years ago
- Status changed from New to Closed
- Assignee set to Go MAEDA
Please open new tickets for issues related to this change.