Commit Graph

17 Commits

Author SHA1 Message Date
ralf
006199a199 Hopefully fix context for action system applyFunc call 2022-10-10 18:13:24 +02:00
Hadi Nategh
a015217f83 Revert commit 03fdceb847 causes breaking action system 2022-10-10 12:00:43 +02:00
ralf
a0471e1ad1 use egw.applyFunc instead of own/old code, to allow calling api methods eg. egw.start_timer too
Setting now NO context for applyFunc so app objects are used/created in global context/window.
This reverts commit 330461c28b.
2022-10-09 13:34:37 +02:00
ralf
99e0b178ee Revert "Revert "use egw.applyFunc instead of own/old code, to allow calling api methods eg. egw.start_timer too""
This reverts commit 330461c28b.
2022-10-09 13:30:59 +02:00
nathan
330461c28b Revert "use egw.applyFunc instead of own/old code, to allow calling api methods eg. egw.start_timer too"
This reverts commit 03fdceb847.
2022-10-07 14:08:32 -06:00
ralf
03fdceb847 use egw.applyFunc instead of own/old code, to allow calling api methods eg. egw.start_timer too 2022-10-07 19:30:55 +02:00
Ralf Becker
59ac3f4bda always name generated file app.min.js so client-side can load it without knowing source is .ts or .js
--> fixes client-side initiated load errors
2021-07-19 08:31:06 +02:00
Hadi Nategh
b4c4606c22 Move all egw_action constants into egw_action_constants 2021-06-14 13:45:57 +02:00
Ralf Becker
771d6c727f got mail app.js incl. jsapi/app_base.js working
plus marking et2 methods returning promisses as async and removing cache-buster from includeJS calls in egw_action_common.js as it causes double loads
2021-06-11 10:11:13 +02:00
Ralf Becker
38cb855017 fixing a couple more imports to get addressbook list show up 2021-06-09 11:11:34 +02:00
Ralf Becker
304dbb95ab got empty nextmatch in timesheet working 2021-06-08 14:11:59 +02:00
Ralf Becker
592b7fb97d replace LAB.js with native es5 loading 2021-06-05 20:39:39 +02:00
nathangray
b4dd62de69 Api: Avoid infinite loop if requested file does not actually provide the class 2021-03-26 09:06:34 -06:00
nathangray
65c61c0625 If action exec uses function from not yet loaded app, load it 2021-03-23 16:33:39 -06:00
Ralf Becker
4f2131358f fix Uncaught (in promise) TypeError: this.context.getManager is not a function, causing empty status bar 2020-10-09 14:05:48 +02:00
nathangray
9c4f866382 Fix methods in hidden app objects could not be used as action handlers
Now nextmatch sets the etemplate's EgwApp object as context for the action manager.  Actions now check and will use the set context instead of global when binding to handlers
2020-10-08 14:57:45 -06:00
Ralf Becker
2e3bd32721 moving all - non ancient ;-) - js files to api/js 2016-04-07 10:38:05 +00:00