From d9197d7e32a97f29829ffd4cf4371b1853e51fa2 Mon Sep 17 00:00:00 2001 From: Inverle Date: Fri, 8 Aug 2025 17:39:38 +0200 Subject: New JS attribute: `data-auto-leave-validation` (#7785) Instead of a repeating pattern like: ``, you can now put a `data-auto-leave-validation="1"` attribute on a `
` for example, and it will automatically set the `data-leave-validation` attributes inside the form elements. `data_auto_leave_validation(parent)` from `extra.js` is called on slider open and page load. --------- Co-authored-by: Alexandre Alapetite Co-authored-by: Frans de Jonge --- app/i18n/en/gen.php | 1 + 1 file changed, 1 insertion(+) (limited to 'app/i18n/en') diff --git a/app/i18n/en/gen.php b/app/i18n/en/gen.php index 3b3872561..9c6bd5070 100644 --- a/app/i18n/en/gen.php +++ b/app/i18n/en/gen.php @@ -145,6 +145,7 @@ return array( 'category_empty' => 'Empty category', 'confirm_action' => 'Are you sure you want to perform this action? It cannot be cancelled!', 'confirm_action_feed_cat' => 'Are you sure you want to perform this action? You will lose related favourites and user queries. It cannot be cancelled!', + 'confirm_exit_slider' => 'Are you sure you want to discard unsaved settings?', 'feedback' => array( 'body_new_articles' => 'There are %%d new articles to read on FreshRSS.', 'body_unread_articles' => '(unread: %%d)', -- cgit v1.2.3