Commit Graph

176 Commits

Author SHA1 Message Date
Hadi Nategh
212e98ccdb Fix in mobile theme not able to dismiss the context menu:
- touch and open entries and swip (left/right) over any rows on the next match list will dismiss the context menu
2015-02-19 11:45:05 +00:00
Hadi Nategh
f3de318e81 Detect Flash player click-to-play mode and inform user how to allow it for copy to clipboard from context menu
- Fix hovering over copy to clipboard brings a wierd small grey box
2015-02-16 15:18:25 +00:00
Hadi Nategh
e62899f204 Correct the cursor after the drag item re-enabled by mouseup event 2015-01-15 16:06:00 +00:00
Hadi Nategh
0406395e4c Revert back the cursor to auto after drop action 2015-01-15 09:56:37 +00:00
Hadi Nategh
26bbb237c3 * All application: Fix unintentional dragging happens while user try to do scrolling over a dragging item in FF(e.g. scrolling over an scrollable infolog entry) 2015-01-14 16:33:57 +00:00
Nathan Gray
5b972ea11f Stop default actions from bubbling after they are handled, fixes parent default action firing after child default action has been handled 2015-01-12 16:17:29 +00:00
Nathan Gray
14655677ca Fix copy to OS clipboard in Firefox. 2014-12-17 16:20:42 +00:00
Hadi Nategh
d9f6c03f8b Fix context menu not poping up in F.F 2014-12-17 10:34:27 +00:00
Nathan Gray
d3e404fad9 Explicitly configure flash location to work with JS minification 2014-12-16 18:57:41 +00:00
Nathan Gray
4eeed35c6c Add copy to system clipboard to context menu 2014-12-16 16:27:33 +00:00
Hadi Nategh
586656289d Fix taphold context menu popup 2014-11-27 16:57:57 +00:00
Nathan Gray
3ec33534dc Add a paste flag to get around mail's check for all rows selected to ignore current selection when pasting 2014-11-19 20:13:46 +00:00
Nathan Gray
103c0c73ad - Add flag to turn off auto-paste actions
- Turn off auto-paste actions when drop has multiple choices - paste is not valid during a real drop.
2014-11-19 17:59:16 +00:00
Nathan Gray
cad253627b Integrate filemanager clipboard and new system clipboard 2014-11-17 23:57:15 +00:00
Nathan Gray
0497818385 Include menu context in action so callback can find click location 2014-11-10 17:50:58 +00:00
Nathan Gray
8fab640449 Fake the drop position when pasting 2014-11-06 21:33:23 +00:00
Nathan Gray
0f516f9eb7 Add action to add to clipboard 2014-11-04 21:34:18 +00:00
Ralf Becker
8abbf0d20e fix can not access property type of null, stalling context menu on tree 2014-10-31 08:31:23 +00:00
Nathan Gray
6272b57088 * Context menu items to copy and paste for drag and drop actions
Copy action is enabled when there are drag actions defined.
Paste action is enabled when there are drop actions defined that match the clipboard context.
Current clipboard contents can be seen in the tooltip for the paste action.
2014-10-30 22:18:37 +00:00
Hadi Nategh
00136ae83b Not used plugin, but included 2014-10-29 11:00:22 +00:00
Ralf Becker
dc3948126b fix IDE warnings 2014-10-24 12:44:15 +00:00
Ralf Becker
247a8c5e87 text and German translations for drag-n-drop modifier hints 2014-10-24 12:19:16 +00:00
Hadi Nategh
981a0a1eb9 * All Applications: Get all drag and drop action functionality working cross platform
-Fix drag Out to desktop functionality with Command+Shift keys (for Mac) or Alt+Shift keys (for other platforms)
-Fix content selection functionality with Command key (for Mac only) or Ctrl key (for other platforms)
2014-10-24 11:15:33 +00:00
Hadi Nategh
1d3769939b Apply Ctrl+Alt keys in order to be able to distinguish between content selection and dnd for draggable actions 2014-10-23 16:23:25 +00:00
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