egroupware/api/js/etemplate/Et2Select
ralf 74ad3ba7b0 change egw.jsonq() and egw.link_title() to return promises
* egw.jsonq() now always returns a promise like egw.request(), still supporting old callback syntax
* egw.link_title(_app, _id, _callback, _context, _force_reload) supports boolean values for _callback (to not break existing code)
- false: just a cache lookup (like current call with just 2 parameters), returning null, if no title is cached, or the title
- true: always return a promise, which might already be resolved, if title was cached
- function: also returns a promise and calls the callback
--> calling egw.link_title(_app, _id) without 3rd parameter is deprecated now (gives a console.trace), to be changed in future to always return a promise, unless called with false, to just return a cache-lookup
* Et2SelectAccountReadonly and et2_link_widget is changed to use the new/updated syntax with promises
2022-05-02 11:27:33 +02:00
..
test Get tests passing again 2022-04-01 12:52:47 -06:00
Et2Select.ts CSS / Layout cleanup - better autosize 2022-04-22 15:22:31 -06:00
Et2SelectAccount.ts using set/get select_option plus a set_selection_options marked as deprecated 2022-03-16 22:36:43 +02:00
Et2SelectReadonly.ts change egw.jsonq() and egw.link_title() to return promises 2022-05-02 11:27:33 +02:00
Et2WidgetWithSelectMixin.ts using set/get select_option plus a set_selection_options marked as deprecated 2022-03-16 22:36:43 +02:00
FindSelectOptions.ts Make Et2WidgetWithSelect a Dedup Mixin in order to make it available cross widgets 2022-03-01 12:35:33 +01:00
StaticOptions.ts using set/get select_option plus a set_selection_options marked as deprecated 2022-03-16 22:36:43 +02:00