N°1881 Portal: Show confirmation dialog when closing forms with unsaved data

This commit is contained in:
Stephen Abello
2019-10-24 10:50:03 +02:00
parent 3667f95b7c
commit 1851163cee
22 changed files with 219 additions and 1 deletions

View File

@@ -66,6 +66,7 @@ Dict::Add('EN US', 'English', 'English', array(
'Portal:File:DisplayInfo' => '<a href="%2$s" class="file_download_link">%1$s</a>',
'Portal:File:DisplayInfo+' => '%1$s (%2$s) <a href="%3$s" class="file_open_link" target="_blank">Open</a> / <a href="%4$s" class="file_download_link">Download</a>',
'Portal:Calendar-FirstDayOfWeek' => 'en-us', //work with moment.js locales
'Portal:Form:Close:Warning' => 'Do you want to leave this form ? Data entered may be lost',
));
// UserProfile brick