Commit graph

48 commits

Author SHA1 Message Date
Emmanuel Saracco
855bcc8564 LSselect : code cleaning 2022-06-16 12:59:14 +02:00
Emmanuel Saracco
3eba1e24d6 LSselect : fix ajax input 2022-06-16 11:50:42 +02:00
Benjamin Renard
ad38812859 Add LSaddon orgchart
A first implementation of this addon which deserves some improvements.
2022-02-22 18:24:37 +01:00
Benjamin Renard
b42093cf45 Improve handling Ajax mode
- LSurlRequest: add ajax property to check if Ajax mode is enabled
- LSurl: handle_request() now handle Ajax mode detection
- LSsession :: setApiMode now trigger LSsession :: setAjaxDisplay()
- Fix LStemplate::fatal_error() to correctly handle Ajax mode
- LSform: fix reporting failure on Ajax submit
2021-11-16 13:59:17 +01:00
Benjamin Renard
a3aa857c78 Improve/fix LSdefaut / LSsession / LSerror / LSdebug / LSinfosBox 2021-08-25 16:50:29 +02:00
Benjamin Renard
096b1d3301 LSform: display fields errors in same order as triggered 2021-07-12 18:59:47 +02:00
Benjamin Renard
cc07f293ab LSformElement_supannCompositeAttribute: fix handling field JS reinitialization for date components 2021-07-07 18:32:15 +02:00
Benjamin Renard
3c02b94085 supannCompositeAttribute: fix clearing value 2021-07-07 16:26:55 +02:00
Benjamin Renard
bf28a6ea94 LSaddon::supann: rework on nomenclatures loading & add support of supannCodePopulation, supannEmpProfil & supannExtProfil 2021-06-10 17:56:34 +02:00
Benjamin Renard
0ac0a7e068 Add support for supannMailPrive, supannAdressePostalePrivee and supannTelephonePrive attributes 2021-06-09 15:48:46 +02:00
Benjamin Renard
077a44fdf9 LSform: fix displaying multiple errors on same field (on Ajax submit) 2021-06-09 14:48:35 +02:00
Benjamin Renard
c81e2d0ee3 LSformElement::mail: fix duplicated email JS button 2021-04-14 15:55:38 +02:00
Benjamin Renard
639f46d8a4 Add LSdefaut copyable feature and use it in showTechInfo 2021-04-14 15:46:36 +02:00
Benjamin Renard
67774a6832 LSformElement :: mail: Move autocomplete feature in text parent class 2021-03-03 14:34:06 +01:00
Benjamin Renard
9680f8a18e LSform: fix displaying error in form in case of global error 2021-01-18 15:04:14 +01:00
Benjamin Renard
41d816c025 LSformElement:📅 add clear btn 2020-09-11 13:38:07 +02:00
Benjamin Renard
e4ca5bbf71 LSformElement:📅 Make today btn working even if input is empty 2020-09-11 13:35:35 +02:00
Benjamin Renard
00132e32ad LSform: fix non-AJAX form submission (or form with input[type=file]) 2020-09-10 15:43:52 +02:00
Benjamin Renard
7e74853021 LSattr_html::date & LSformRule:📅 add special_values parameter 2020-09-09 18:40:44 +02:00
Benjamin Renard
6a3fd60d3e LSformElement::getEmptyField() / LSformElement.tpl: Provide value index as $value_idx template variable 2020-09-08 18:42:54 +02:00
Benjamin Renard
d5d88d2601 LSsession : fix handling subDn in recoverPassword feature 2020-08-06 17:01:51 +02:00
Benjamin Renard
f9ebf06a63 LSview: Fix validated URL generation 2020-07-28 12:40:46 +02:00
Benjamin Renard
7eac609bd9 LSformElement JS : fire change event on input field cleared 2020-07-24 11:16:22 +02:00
Benjamin Renard
e58999bbaf LSformElement::password: Improve UX with confirmInput and confirmChange features enabled 2020-06-30 10:19:51 +02:00
Benjamin Renard
f66b7186e8 LSformElement::password: fix some jshint errors 2020-06-30 09:58:57 +02:00
Benjamin Renard
2c6b95b3d6 LSformElement::password: Add confirmInput feature 2020-06-30 09:57:16 +02:00
Benjamin Renard
a5814afefc LSform: add CSS class on submitting form to permit visual adaptation 2020-06-11 20:35:55 +02:00
Benjamin Renard
6e02cbe2d5 Fix typo 2020-06-11 20:31:21 +02:00
Benjamin Renard
38ed2ca08c LSformElement::password: Add confirmChange parameter 2020-06-11 20:14:16 +02:00
Benjamin Renard
9c11a81220 LSform JS events: Add possibility to callback to confirm/cancel event 2020-06-11 20:05:28 +02:00
Benjamin Renard
6e14916bae Fix Internet Explorer deprecation warning on IE11 2020-06-04 19:35:49 +02:00
Benjamin Renard
1b98dbfe80 Fix helpInfo feature by LSsession::addHelpInfos to LStemplate
LSsession :: addHelpInfos() is now deprecated in favor of LStemplate :: 
addHelpInfo().
2020-06-04 19:04:48 +02:00
Benjamin Renard
c6dcc95b51 LSview/LSform: fix loading view dependencies 2020-06-04 17:12:28 +02:00
Benjamin Renard
62b0eb36ab LSrelation: use LSview_actions.tpl 2020-06-04 16:46:00 +02:00
Benjamin Renard
cbaa1eadfd Fix toggle_menu undefined error 2020-06-04 10:02:29 +02:00
Benjamin Renard
31f6189f4a LSform: Avoid page scrolling on tab change 2020-06-03 12:58:37 +02:00
Benjamin Renard
bfd60b28c6 LSform: fix preserving current tab on actions links click 2020-06-03 12:58:05 +02:00
Benjamin Renard
49656cd6f6 function.js: fix compatibility with Safari 2020-06-03 11:53:37 +02:00
Benjamin Renard
c29240d771 Make LSview-actions respons 2020-06-02 21:10:59 +02:00
Benjamin Renard
62ec0a2b1e Fix typo toogle/toggle 2020-06-02 19:57:19 +02:00
Benjamin Renard
ba41b527c0 Make interface responsive
Adapt components size to view-port size and allow to show/hide menu
2020-06-02 19:56:40 +02:00
Benjamin Renard
78fefb6c8f function.js: Fix global variable B64keyStr declaration 2020-05-29 18:28:15 +02:00
Benjamin Renard
0469d0723f Add alert about no longer support of Internet Explorer 2020-05-29 18:27:31 +02:00
Benjamin Renard
88c995ac5c LSerror: do not automatically close LSerror 2020-05-28 17:00:01 +02:00
Benjamin Renard
e8095636b5 Allow multiple type of objects in LSselect & LSattr_html :: select_object and globally rework and improve LSrelation consequently 2020-05-19 17:55:55 +02:00
Benjamin Renard
91ea37f841 Remove references to old index.php page 2020-05-07 09:56:28 +02:00
Benjamin Renard
041e38e131 Add missing local symbolic link in includes/js directory 2020-05-06 20:40:34 +02:00
Benjamin Renard
7098b3ee79 Massive change of files organisation to move all files outside web-root
The web-root directory now contains URL rewrite stuff. All PHP & static files are
in root src directory and are served via LSurl routes.
2020-05-06 12:17:35 +02:00