Commit Graph

38 Commits

Author SHA1 Message Date
nathangray
036ec20769 Fix some nextmatch bugs
- Removed rows could still have jQuery actions bound, resulting in errors
- Focused row was not cleared if it was removed, resulting in errors
- Fixed double get_rows call on refresh(..., update)
2020-08-08 10:51:39 -06:00
nathangray
3dd30b1ee1 Api: Fix multiple action confirmation 2020-07-14 14:19:53 -06:00
Ralf Becker
e613a561f6 do NOT show drag-n-drop actions, if we only have the cancel-drop action, added by default 2020-06-03 16:57:51 +02:00
nathangray
ce393e0803 Remove et2_types 2020-05-29 11:21:17 -06:00
Hadi Nategh
289f9a0644 Give bound click handlers on widgets a chance to get executed 2020-05-27 12:43:21 +02:00
Hadi Nategh
99693d1ef6 Add singleClick attribute to action popup 2020-05-27 11:54:50 +02:00
nathangray
3626679408 Api: Find the current focused object from global instead of app object when handling key presses
Should better handle apps admin where the focused object could be from a different app
2020-05-20 10:31:32 -06:00
nathangray
397fc8a620 Fix missing translation reported by Stefan Unverricht 2020-04-16 11:34:10 -06:00
Hadi Nategh
2cc2f198d4 Some fixes for egw_action and egw_global 2020-02-28 14:41:17 +01:00
Hadi Nategh
fe038b7790 Fix some params in egw_action 2020-02-13 15:28:01 +01:00
Hadi Nategh
7f37ff4942 Some fixes for defined types 2020-02-12 11:29:47 +01:00
Ralf Becker
fc48878558 added (generated) TS declarations for egw_action 2020-02-10 10:00:35 +01:00
nathangray
ed01dfad0a Fix partial HTML broke label in context menu Copy "..." action 2019-07-31 11:21:36 -06:00
nathangray
edfd5fd24d Etemplate - also submit action data 2019-05-14 16:43:15 -06:00
nathangray
07773ded32 Etemplate - add ability to toggle row selection with spacebar 2019-05-14 10:33:59 -06:00
nathangray
c96831adc3 Add 'confirm_mass_selection' action attribute to either provide or require a confirmation prompt on checkbox actions with more than 20 selections 2019-03-12 11:33:31 -06:00
Ralf Becker
b473550584 fix (unneccessary) brackets and IDE warnings 2019-03-04 12:50:11 +01:00
Ralf Becker
2de94163a1 allow to specify for how many selected rows an action should be shown 2019-03-04 12:12:00 +01:00
Hadi Nategh
feac8a1e80 Make sure data is available before using it 2018-12-13 15:29:31 +01:00
Hadi Nategh
f3ebfacc57 Introduce new action attribute to disable EPL actions via action system 2018-11-27 11:50:23 +01:00
Ralf Becker
747b3bb103 fix typeError if enableClass method is called without _target parameter
stalling rendering of nextmatch rows in filemanager
2018-07-30 11:35:07 +02:00
Hadi Nategh
f5422526ce Make sure there's a context and selectionMgr objects before using them 2018-07-25 14:11:45 +02:00
Hadi Nategh
f99672a742 Fix d-n-d indicator shows wrong number of selected rows if it's a select all 2018-07-25 11:22:04 +02:00
nathangray
9e19baf492 Handle action enable/disable class checks on rows that are not currently rendered by checking their data 2018-07-17 10:20:52 -06:00
nathangray
d0a50d8d45 Changes needed to just get the screenshots, much more work needed for proper functionallity since I faked the permissions 2018-06-05 14:31:04 -06:00
nathangray
7843da6e08 Change allowOnMultiple check to use count of selected objects, not count of actionLinks
Allows enabled check functions to call other actions's enabled functions.
2018-05-31 09:19:39 -06:00
nathangray
ceea2cb976 Some more code cleanup:
- Remove some unexecutable code
- Fix some variable declarations
(to satisfy Scrutenizer)
2017-01-31 08:29:00 -07:00
nathangray
286c730d08 Allow children for paste actions automatically pulled from drop actions 2016-08-24 14:28:55 -06:00
nathangray
7abf44c6a3 Add actions (Add) for blank parts of planner view 2016-08-22 09:39:09 -06:00
Hadi Nategh
a9ff5f1d17 Revert not intentional change on egw_action_popup contextHandler 2016-06-07 11:03:06 +02:00
Hadi Nategh
93217a149d jQuery libraries updates via composer 2016-06-06 17:38:20 +02:00
Hadi Nategh
f3d61b4a48 Do not generate keyboard shortcuts for actions in mobile template 2016-06-03 16:16:54 +02:00
Hadi Nategh
87fb94a496 Deprecate $j global variable and replace them all with standard jQuery 2016-06-02 16:52:01 +02:00
Hadi Nategh
91a178a370 Do not add 'X' icon for contextmenu action in mobile template 2016-05-23 14:36:39 +02:00
Ralf Becker
9aac672e8f use Grunt&cssmin to minify CSS files, moved diverse conditional includes into etemplate2.css, as we anyway include all widgets from api 2016-04-30 09:29:54 +00:00
Nathan Gray
2821c9bf43 Allow popup menu checkboxes to be toggled base on selected entry data 2016-04-28 16:39:53 +00:00
Nathan Gray
e69df0dd3b Remove scroll check, doesn't appear to be needed anymore and it was stopping dnd on skinny (< 15px) nodes 2016-04-07 16:48:13 +00:00
Ralf Becker
2e3bd32721 moving all - non ancient ;-) - js files to api/js 2016-04-07 10:38:05 +00:00