5 Commits

Author SHA1 Message Date
eb69697b9a Fix missing routes incompatible with a subpath 2021-11-03 16:02:21 +01:00
5d7d8a7f68 Replace window.location with the full URL to prevent passing query parameters
* Example before:
location + '/mark_as_solved'
/request_for_comments/30885?locale=de/mark_as_solved

Now: //localhost:3333/request_for_comments/30885/mark_as_solved

Note: https or http will be added automatically by browsers
2020-10-28 13:41:41 +01:00
16a5345a71 Migrate jQuery function use for ajax in case of success or failure
Deprecation Notice:

The jqXHR.success(), jqXHR.error(), and jqXHR.complete() callbacks will be deprecated in jQuery 1.8. To prepare your code for their eventual removal, use jqXHR.done(), jqXHR.fail(), and jqXHR.always() instead.
2018-11-26 12:23:30 +01:00
15b1670511 Update Turbolinks, load additional assets only on request, fix JS
Signed-off-by: Sebastian Serth <Sebastian.Serth@student.hpi.de>
2018-11-06 16:46:01 +01:00
28605fbe9b Support adding and removing attributes of error templates 2017-07-12 21:25:18 +02:00