nathan
875a3996aa
WIP on Et2LinkList, should be working now
2022-05-11 14:00:23 -06:00
ralf
3777ba7691
fix not working callback syntax with egw.jsonq() and changing callback to promise (after the fix)
2022-05-02 16:22:12 +02:00
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
nathan
bfdb53b1cf
Change over some more dialogs
2022-03-30 13:24:52 -06:00
nathan
5af7d0f644
* Etemplate: Add link icon overlay to link list
2021-12-03 14:18:48 -07:00
Ralf Becker
0203ce5a1f
also augmenting Promise returned from egw.request() with an abort method and using that in link-widget
2021-08-23 09:37:18 +02:00
Ralf Becker
6baf07090e
implement some missing features from old eTemplate:
...
- evaluate class set on a grid cell as done for the widget contained (probably more a bug-fix then a feature)
- allow to preset query for link-entry widget by passing an object with a query attribute
- allow to overwrite not only $readonlys[__ALL__] but also widget readonly attribute with a $readonlys value of false
2021-08-19 10:46:34 +02:00
nathan
54e5826fc7
Get the link entry app selection menu working again
2021-08-12 11:21:49 -06:00
Ralf Becker
f91bca83e1
got et2 mostly working: timesheet.edit renders
2021-06-07 17:33:53 +02:00
nathangray
c3bebf9c31
Widget accessibility improvements
2021-05-13 10:01:38 -06:00
nathangray
b4b38d54ff
Get rid of any extra whitespace in break string
2021-05-10 15:38:07 -06:00
nathangray
a94345bbed
Etemplate: let break_title be optional based on space, and keep the actual characters
2021-05-10 11:55:22 -06:00
nathangray
dd9352e9c4
Etemplate: Fix links with title provided always displayed loading spinner
2021-05-10 11:00:41 -06:00
nathangray
93adb0dca5
Fix clicking on a link to app entry (not file) threw JS error instead of opening
2021-03-22 11:18:16 -06:00
Hadi Nategh
0f0b6e4154
Implement basic audio player for audio expose
2021-03-16 13:23:54 +01:00
Hadi Nategh
62951986ae
Add break_title option for link widget in order to be able to break link's title into new line based on a given delimiter
2021-02-03 14:14:22 +01:00
nathangray
6af3e37bed
* Etemplate: Add context menu action on linked files to copy them somewhere else
...
Also, update vfsSelect to use request(), so it processes the additional stuff in response so we can have a success message.
2020-12-21 13:53:24 -07:00
Hadi Nategh
e317645291
* Addressbook: fix 'undefined' title shown for some contact links opened in CRM view tabs
2020-12-03 18:19:25 +01:00
nathangray
ba7cbc5d5a
Etemplate: Make child nodes protected instead of private for easier extending
2020-09-28 10:05:32 -06:00
nathangray
39b630d36e
Etemplate: Fix some selectAccount bugs when multiple=true
2020-09-15 11:23:02 -06:00
nathangray
56e1d3c5e5
Etemplate: Fix some missing includes
2020-09-10 16:59:34 -06:00
nathangray
dadf0fe993
Etemplate: Fix et2_selectAccount legacy options were not set
2020-08-06 16:39:59 -06:00
nathangray
1da1cb7b99
Fix legacy options not being read for some widgets
2020-03-30 10:28:48 -06:00
Hadi Nategh
b7403af93f
Fix expose class and its derived widgets
2020-02-20 17:46:53 +01:00
Hadi Nategh
9a4f2d1e69
Convert expose to TS and apply it to all exposable widgets
2020-02-19 17:14:44 +01:00
Ralf Becker
2d5012d208
add extra_link_target attribute to r/w link-entry to allow opening link in new tab (for mserver)
2020-02-16 11:31:32 +01:00
nathangray
8525477b26
Avoid error if AJAX call returns after destruction
2020-02-12 13:21:05 -07:00
nathangray
4adff37f6f
Fix missing / not set attributes
2020-02-07 09:31:10 -07:00
nathangray
f69ebe44bc
Get link widget working
2020-02-05 15:27:24 -07:00
nathangray
8dc41fd07a
Get nextmatch-entryheader working
2020-02-05 13:48:50 -07:00