Hadi Nategh
f58cb571ef
Fix indentation
2014-10-22 15:35:58 +00:00
Hadi Nategh
fb0059b796
Use jquery-tap-and-hold plugin for taphold event on touch devices
2014-10-22 15:12:48 +00:00
Hadi Nategh
510469e60b
Implement to set proper lable for dragging item for the drag helper
2014-10-21 14:31:18 +00:00
Hadi Nategh
549431fb73
Revert commit r49090, because it breaks special ctrl key and click handling in nm. Need more investigation to solve it
2014-10-21 13:35:19 +00:00
Hadi Nategh
c1c4b7c682
Replace the drag out trigger key from Ctrl (or Command key in Mac) to Shift key.
...
- Make Ctrl key as a standard dnd action disabling, and being able to select content by holding Ctrl key.
2014-10-21 11:48:25 +00:00
Hadi Nategh
10eb33cbdd
Get drag out action working again
2014-10-20 15:03:31 +00:00
Hadi Nategh
96d9f14d12
More progress of commit r49059
2014-10-20 11:41:59 +00:00
Hadi Nategh
dae1ce6554
Work in progress, standardization of dnd action helper styling for all apps
2014-10-17 16:34:14 +00:00
Hadi Nategh
55b97699b6
Notify user of how to select content of a draggable item
2014-10-16 14:41:30 +00:00
Nathan Gray
9f9f5184fc
If selected egwActionObject(s) contain data, use that over global data store.
2014-07-14 20:29:42 +00:00
Ralf Becker
85c5468013
fixed old tree stuff to use new dhtmlx locations, allways use dhtmlxtree/codebase/dhtmlxcommon.js
2014-06-03 08:17:43 +00:00
Nathan Gray
3b8bee4d18
Update dhtmlxTree & dhtmlMenu to latest version
2014-06-02 23:32:15 +00:00
Nathan Gray
178fa34031
Implement action system state for trees
2014-04-28 23:11:58 +00:00
Nathan Gray
26eaf7e1fe
Add a isDefault flag to allow changing default execution function
2014-03-11 16:25:18 +00:00
Ralf Becker
ea04a556ca
added a couple more default icons similar to et2_button, and fixed actions with just a caption string where not working with toolbar
2014-03-06 18:33:27 +00:00
Ralf Becker
a7251c13ed
using new css class "drop-hover" for hovering over egw_action dropables and no longer any activeClass showing possible drop targets
2014-03-05 12:31:32 +00:00
Ralf Becker
97a5a41867
fix typo
2014-03-04 12:20:26 +00:00
Ralf Becker
04442bb0cf
move actions stuff to api bundle, as loading just it fails with etemplate bundle split in two parts (fixes error reported on devel list)
2014-03-04 09:10:58 +00:00
Nathan Gray
6b86eb9c0f
For the purposes of keyhandling, consider textareas & buttons inputs too
2014-03-03 19:00:25 +00:00
Nathan Gray
3b15036ce8
Add a check for select_all action, and use it if there.
...
Fixes Ctrl+A only selected visible nextmatch rows.
2014-02-27 23:06:27 +00:00
Ralf Becker
58b6cb3bc6
fixed tons of IDE warnings
2014-02-25 15:03:13 +00:00
Ralf Becker
589a6e2e96
fixed not working hideOnDisabled when building popup menu for multiple drop actions, also fixed tons of IDE warnings
2014-02-25 15:02:49 +00:00
Nathan Gray
35c70fea93
Changes to action system:
...
- Change selected to not start at global root - fixes key handler only working for 1 app
- Add depth limit for finding action / object (depth first search)
- Use depth limit when looking for top level application action/object to avoid crossing apps
2014-01-18 11:21:53 +00:00
Ralf Becker
1ed9196066
just calling egw.image to use its special handling for egw_actions and dhtmlxtree
2014-01-16 16:49:26 +00:00
Nathan Gray
47c6c74fbf
Never display an empty confirm message
2014-01-15 15:18:23 +00:00
Nathan Gray
e493255cc6
Allow action to confirm only on multiple rows selected, but let single rows proceed
2014-01-15 14:59:42 +00:00
Nathan Gray
881f8d254b
Context menu only on keypress, or right-click of something with actions
2014-01-11 15:20:11 +00:00
Nathan Gray
8140ecf24b
Don't try to translate caption if one was not provided - silences warning when dragging
2014-01-11 11:51:46 +00:00
Nathan Gray
aa47e50f97
Fix missing drag helper
2013-11-06 23:12:32 +00:00
Nathan Gray
1e6fcec665
Fix missing typeof operator
2013-10-24 17:01:58 +00:00
Nathan Gray
33a88ea089
Also accept meta (Command) key to turn on dragging files out of window
2013-10-09 09:12:02 +00:00
Ralf Becker
59f264ada4
do NOT require enabled=true for (enable|disable)Class or enableId attribute to work
2013-10-04 11:18:50 +00:00
Ralf Becker
dad39e1d8a
moved all confirmation to api egw_actions and changed select_all to depend on all visible rows selected (Ctrl-A)
2013-10-03 15:30:27 +00:00
Nathan Gray
6fd5e50d60
Use a two step process to force an absolute URL, in case server settings have full URL
2013-09-17 15:34:39 +00:00
Nathan Gray
72e5c43a96
Add child action visbile/enabled checking - previously children were always enabled
2013-09-04 19:09:48 +00:00
Nathan Gray
eb989ed98b
Hold Ctrl key to drag a file from filemanager to system folder / desktop
...
Restricted to Chrome only, one file at a time, folders don't work well.
This uses Chrome-only DownloadURL, so other browser support is unlikely.
2013-08-28 22:31:14 +00:00
Ralf Becker
0de6ab1b35
fix not working timesheet status and category actions: "disableClass", "enableClass" and "enableId" are now handled by action system itself, one should not set an explicit "enabled" attribute anymore
2013-08-26 08:24:50 +00:00
Ralf Becker
0984527661
let old eTemplate run its own confirmation from nextmatch_action.js
2013-08-26 07:36:51 +00:00
Ralf Becker
6fbfb6c784
propset svn:keywords
2013-08-26 07:36:19 +00:00
Nathan Gray
ba80841c5e
Add some comments and a warning if action string can't be parsed to a function
2013-08-19 17:41:16 +00:00
Ralf Becker
37671ac812
fixed handling of attributes stored in data, was depending on order or attributes to work
2013-07-24 10:18:11 +00:00
Ralf Becker
74cb73d2d2
moved most action "comfort" functions (with exception of nm_action and pagination) from server-side nextmatch class to client-side egwActions.updateActions() method, so they are available for all widgets
2013-07-20 13:45:22 +00:00
Nathan Gray
23fa7ed233
Make sure node is Draggable / Droppable before trying to undo it - though it probably should be
2013-07-20 13:38:09 +00:00
Klaus Leithoff
fbedb9d558
rebuild basic browsertest functionality not provided by jquery anymore
2013-07-19 11:07:22 +00:00
Nathan Gray
c2c910cee2
Add UI object into all links, in case of popup, so it's available to whatever is chosen
2013-05-29 19:20:36 +00:00
Nathan Gray
555de8e540
Include jQuery's UI object in drop action for location
2013-05-29 16:41:00 +00:00
Nathan Gray
51161e8ddd
For nested droppables, make children greedy to consume the action
2013-05-28 22:09:03 +00:00
Nathan Gray
4995e1fa08
When clearing, remove links too
2013-05-28 22:08:17 +00:00
Nathan Gray
eba9226dd3
Pass selected objects to callback
2013-04-12 10:27:04 +00:00
Nathan Gray
6d6feb06d7
Fix droppables to accept dragged if one of the types match
2013-04-11 12:53:23 +00:00