Commit Graph

185 Commits

Author SHA1 Message Date
Nathan Gray
16598a21ca Fix most of erratic copy behaviour using clipboard in Chrome 2015-08-17 16:56:47 +00:00
Nathan Gray
9566a6b758 Experimental use of experimental copy to clipboard using document.execCommand('copy') 2015-08-13 17:47:19 +00:00
Nathan Gray
920616e37a Calendar et2 conversion work in progress.
Context menu is enabled, but not all actions are fully implemented yet.
2015-06-10 21:51:28 +00:00
Hadi Nategh
b5dc84fc09 Revert commit #52857 2015-06-02 08:57:26 +00:00
Nathan Gray
9c1ec7ba62 Fix keyboard actions changing selection to last clicked row instead of using current user selection. 2015-05-28 15:34:58 +00:00
Nathan Gray
a8d6b8da07 Better error message for invalid sprintf 2015-04-01 16:24:43 +00:00
Hadi Nategh
ed2bed1b97 Fix click handler on links does not stop propagation, causes unwanted click event 2015-03-31 10:01:51 +00:00
Nathan Gray
7ccca9f4c6 When creating a new objectManager, use the actionManager at the matching search depth.
Fixes objectManagers using an actionManager from a different application, and failing.
2015-03-16 20:17:55 +00:00
Nathan Gray
3eb9353b9d Try to avoid a syntax error in IE 2015-03-09 22:46:31 +00:00
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