Commit Graph

196 Commits

Author SHA1 Message Date
Ralf Becker
d49f8bc45f fix situation where multiple app.js objects are used, eg. InfoLog and CRM view in Addressbook:
- etemplate2 creates a private app object instead of using window.app with just prototypes, if template is not from current app
- fixed all cases where window.app was used to use just app, to use evtl. private object
- app_base no longer assigns itself to window.app (window.app[this.appname] = this), as that breaks private app objects
- et2_compileLegacyJS replaces app.appname with widget.getInstanceManager().app_obj.appname
- etemplate2 stores either private or global app object in app_obj attribute
2016-03-17 18:12:36 +00:00
Ralf Becker
c5523c649c remove 11.1 felamimail grid, unused since 14.1 2016-03-13 14:18:22 +00:00
Hadi Nategh
1b0427a182 Mobile theme:
- Do not add copy/paste actions for mobile contextmenu
2016-03-09 12:37:02 +00:00
Hadi Nategh
e06a8bc167 Mobile theme W.I.P.:
- Add some styling for searchbox
- Fix contextmenu is not coming on trees
- Add back handler for context menu in order to close it
2016-02-16 11:59:31 +00:00
Hadi Nategh
9c64c3b708 Mobile theme W.I.P.:
- Fix triggering contextmenu
2016-02-08 10:48:12 +00:00
Hadi Nategh
4c22eeb77e Mobile theme W.I.P.:
- Implement hideOnMobile option for action system in order to be able to disable specific action in mobile
2016-02-03 13:12:37 +00:00
Hadi Nategh
c37554a3c9 Make sure d-n-d does not get triggered via double click action 2015-12-16 15:40:17 +00:00
Hadi Nategh
c8c4980d3e Fix copy action does not work in IE, if the element is not clicked before triggering copy action from context menu 2015-11-03 12:19:10 +00:00
Ralf Becker
41a8710862 remove some time not used zeroclipboard stuff 2015-11-02 08:26:17 +00:00
Nathan Gray
252a8fd11a Calendar scrolling, swiping and keyhandler for page up & page down 2015-10-27 16:45:37 +00:00
Ralf Becker
b18d373624 fixing wired IE security errors "Permission denied", seems reload of opener caused references to egw and template cache in opener.top.etemplate2.prototype.templates becomming inaccessible, catching this errors and falling back to a window-local object 2015-10-26 21:13:34 +00:00
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