demarches-normaliennes/app/helpers
Pierre de La Morinerie 3fdecf0924 helpers: remove element immediately when no timeout is specified
This fixes an issue where clicking quickly on several "Remove row"
buttons on a repetition field results in autosave errors.

This is because the N+1 autosave request is correctly sent after the
Nth response from the server, but _before_ the row element is actually
removed from the DOM. So the N+1 request actually sends the fields for
the deleted row, which makes the server raise an error.

With this fix, the row gets properly removed when the server responds,
and before the next request is started.
2020-08-25 15:45:49 +02:00
..
application_helper.rb helpers: remove element immediately when no timeout is specified 2020-08-25 15:45:49 +02:00
attachment_upload_helper.rb creation of attachment_upload_helpers and integration in the code 2020-07-29 12:26:27 +02:00
champ_helper.rb datetime type de champ: changed the years range from [1950;2100] to [to current year - 1; 2020-08-13 13:41:45 +00:00
commentaire_helper.rb corrige mise en forme commentaire 2020-08-10 17:36:23 +02:00
conservation_de_donnees_helper.rb ajout du nom d'application dans les mailers 2020-07-23 16:17:52 +02:00
demande_helper.rb Extract some code in a helper 2018-09-20 16:23:09 +02:00
devise_helper.rb [fix #474] display devise errors with flashes 2017-06-21 18:07:58 +02:00
dossier_helper.rb suppression du message d'alerte suite aux problèmes d'upload 2020-07-27 10:32:03 +02:00
dossier_link_helper.rb refactor instructeur_avis_url 2020-06-30 09:17:27 +02:00
etablissement_helper.rb prend en compte le nom de l'enseigne pour l'établissement 2020-08-20 14:23:02 +02:00
flipper_helper.rb add a feature-flip for procedure PDF export 2020-03-17 15:00:03 +01:00
html_to_string_helper.rb [Fix #1078] Fix a crasher in HtmlToStringHelper 2017-12-12 10:06:50 +01:00
mailer_helper.rb helpers: add vertical_margin helper for mailers 2019-07-25 12:25:50 +02:00
messagerie_helper.rb messagerie: add a reply button next to the latest message 2019-07-17 11:43:21 +02:00
notice_url_helper.rb [fix #675] upload notice in DS 2018-04-12 10:44:58 +02:00
number_helper.rb Fix the thousand separator in order to copy/paste without space 2020-02-17 11:31:12 +01:00
procedure_helper.rb Expose draft_revision types_de_champ to editor 2020-07-28 17:04:06 +02:00
service_helper.rb helpers: add ServiceHelper#formatted_horaires 2019-03-20 10:42:57 +01:00
string_to_html_helper.rb helpers: prevent some texts to be incorrectly detected as links 2020-06-22 14:42:41 +02:00
tableau_de_bord_helper.rb Rename gestionnaire in code to instructeur 2019-08-12 13:47:01 +02:00
tabs_helper.rb dynamic_tab_item now handles url arrays 2018-09-07 11:30:00 +02:00