Nathan Gray
8192f13b3b
Fix typos preventing some drops
2013-04-11 12:22:34 +00:00
Christian Binder
bd270b4010
fix ignored _onExecute attribute
2012-08-25 14:40:48 +00:00
Christian Binder
98d17d7ca4
removed accidentally found typo and logging
2012-08-14 12:02:47 +00:00
Andreas Stöckel
cfa9c190bb
Implemented keyboard navigation and data retrival for uids
2012-03-29 14:11:22 +00:00
Andreas Stöckel
50ad9e4ba0
Included dhtmlx js files in egw_menu_dhtmlx.js, fixed problem with removing action objects, improved egw_include_mgr a bit
2011-09-09 14:03:18 +00:00
Andreas Stöckel
2e9104ecea
Added dependencies to the egw_action js files
2011-08-03 14:04:30 +00:00
Andreas Stöckel
44b8c43e1e
Fixed keyboard navigation in treeview
2011-07-03 12:33:18 +00:00
Andreas Stöckel
44f73628e2
Implemented unregistering ActionImplementations when ActionObject.remove is called, ActionObject.clear now calls 'remove' on all child objects.
2011-06-26 14:57:05 +00:00
Ralf Becker
ba46b54355
improved exception message
2011-06-24 10:26:46 +00:00
Andreas Stöckel
416ff4787f
Fixed bug with SHIFT + Arrow keys not working anymore
2011-06-20 19:25:50 +00:00
Andreas Stöckel
bf8437551d
Implemented egw_action shortcuts
2011-06-19 10:48:51 +00:00
Andreas Stöckel
41c4d4cee4
Enabled toggeling the grid selection with CTRL+A
2011-06-16 17:08:32 +00:00
Andreas Stöckel
1706f0fb22
Added function for removing actionObjects
2011-06-16 17:03:39 +00:00
Andreas Stöckel
9db8424e15
Implemented default focusing of objects in the tab manager, added new egw_getAppName function on js side, which returns the name of the currently active application - this is needed for the keyboard handler to pass the key events to the correct application object manager.
2011-06-15 20:54:58 +00:00
Andreas Stöckel
e03d416fda
Implemented first version of key-board control over action-objects. For now arrow/page up/down and CTRL-A works.
...
Known Issues:
- Keyboard navigation in egw_grids (like felamimail) may not work correctly when navigating to not-yet loaded items (current implementation for that is more a hack)
- short-cuts not yet implemented
- not tested in IE, Safari, FF 3.6
- felamimail sometimes loads all/many of the emails you were navigating over
2011-06-12 16:41:40 +00:00
Andreas Stöckel
d02c638ca9
Implemented global action manager and object manager, implemented possibility of adding sub-action-managers
2011-06-02 14:48:03 +00:00
Andreas Stöckel
36d2f605cb
Fixed problem with an container object returning 'true' for 'getAllSelected', even if it has no children.
2011-05-31 17:02:51 +00:00
Andreas Stöckel
2e84fb63e2
added clear function to egwActionObject, reverted change done by klaus leithoff in egw_action.js as it caused serveral problems, fixed problem with no actions being executable when all action objects were selected using the setSelectAll function, added iframeFix to egw_action_dragdrop.js, made draggedOver style working for all tables.
2011-05-28 15:24:31 +00:00
Klaus Leithoff
f7cb239a14
if the list is empty/the action object has no children, we do not consider that as allSelected
2011-05-16 12:05:54 +00:00
Ralf Becker
fb5ea143be
- returning checked state of all checkboxes, not only select_all, in $content[nm][checkboxes]
...
- $content[nm][select_all] is now only reference to $content[nm][checkboxes][select_all]
- checkboxes need no default onExecute, therefore removed nm_select_all method
- improved documentation for action stuff in nextmatch widget
- added egwAction.getActionsByAttr(_attr, _val) method returning all actions with a given attribute and value
2011-04-27 07:49:46 +00:00
Andreas Stöckel
fcaef1ee58
resolved issues with for-in loop and ie
2011-04-23 09:07:31 +00:00
Andreas Stöckel
f2b739e332
Added additional parameters to the 'enabled' callback (1. the action, 2. an array of action object, 3. the current action object)
2011-04-17 20:27:23 +00:00
Andreas Stöckel
cbf233bccd
action type now defaults to 'popup'
2011-04-17 19:10:46 +00:00
Andreas Stöckel
7ae2588e84
dhtmlxmenu now doesn't autohide after clicking on checkboxes/radiobuttons, click handler can specifiy whether the field should be checked/unchecked
2011-04-17 17:42:04 +00:00
Andreas Stöckel
cb9355ac00
Fixed problems with executeActionImplementation when called from a container object, fixed problem with popup menu which did not open in some cases, added the ability to use the 'enabled' property of an action as an callback function (actionObject is passed as parameter), introduced egwFnct-class which consistently handles 'javaScript:fnct' strings, added 'allowOnMultiple':'only' setting, added 'hint', 'checkbox', 'checked', 'radioGroup' properties to popup actions, added 'setDefaultExecute' function to egwAction objects, which applies an handler to all objects which don't have a handler yet
2011-04-17 15:38:46 +00:00
Andreas Stöckel
bc25b8a102
Only call the selectCallback once, call it when setAllSelected is called and select the whole row when the checkbox is pre-checked
2011-03-31 12:56:47 +00:00
Andreas Stöckel
dde3de5195
Added new column type 'EGW_COL_TYPE_CHECKBOX'
2011-03-30 14:28:49 +00:00
Andreas Stöckel
ba92642c5b
Added full drag-drop support to the egw action system
2011-03-24 17:06:44 +00:00
Andreas Stöckel
bbe645ee02
Added data property to egwAction, fixed bug in popup menu group generation
2011-03-23 20:08:33 +00:00
Andreas Stöckel
0b2168e924
Fixed bug in egwActionObject.selectAll function which caused the internal 'selectedChildren' array to be a reference to the children array and resulted in the children array being destroyed.
2011-03-23 14:36:25 +00:00
Andreas Stöckel
e0d40e649b
Moved most code of the JS actionManager class to the action object itself, so that every action object might have child object if the action implementation allows that. Added support for sub-actions for actions representet as popup menus
2011-03-23 14:05:39 +00:00
Andreas Stöckel
67575e1cd1
Added move and copy multiple files functions to egw_vfs, implemented functions needed to reload subtrees of the egw_grid, fixed problems with data fetching in egw_grid_data.js
2011-03-21 16:12:28 +00:00
Andreas Stöckel
ebd6031ecf
Small design improvements, fixed horz. scrollbar in grid with chrome, ie compatibility, enabled column selection, fixed prefetch code
2011-03-16 17:50:25 +00:00
Andreas Stöckel
e7bd5a4813
Modernized grid design a bit, added auto triggering of the default action to the popup action, added simple action-binding to the egwGrid
2011-03-14 20:11:08 +00:00
Andreas Stöckel
57aaf6d756
Dynamic loading of content tested and optimized, resolved bugs, implemented support for data trees in the view classes. The whole progess can be seen in the test/test_grid_view.html file.
2011-03-10 20:58:35 +00:00
Andreas Stöckel
c7122b1006
Basic grid functionality including dynamic generation of grid rows is now working in all browsers
...
and performs quite well (just some non-objective data):
Lines | IE 7/8 | FF | Chrome
---------------------------------------------
1000 | fast | very fast | very fast
10000 | ok | fast | very fast
100000 | still ok | ok | fast
(Performance might still be optimized but this does not really help right now).
The code for dynamic data loading has been written but still has to be tested.
Work which still has to be done to have a fully functional grid view:
- Data columns have to be generated correctly
- Displaying trees has to be tested, but should work more or less out-of-the-box due to the design of
the grid containers
- Client side manipulation of data (sorting/filtering...) - most functionality is already there but not
yet used (will be tested alongside with the filemanager)
2011-03-09 22:16:41 +00:00
Andreas Stöckel
ae7987264e
- Added working egw_grid component including test and documentation, codebase will be used to replace the nextmatchWidget in etemplate2
...
- Improved egw_action.js:
- Bugfixing regaring handling of egwActionObjects organized in trees (hasn't been tested before)
- Improved egwActionObjectInterface interface and functionality: AOIs can now mark themselves as invisible/visible and request the action objects to reconnect the action implementations
- Action objects do now automatically register the action implementations
- Vastly improved speed when working with huge amounts (> 500) of objects organized in trees (as done in the grid test)
- Improved egwActionObject functionality: Added new functions regarding selecting groups of objects
2011-03-02 21:18:20 +00:00
Andreas Stöckel
419c2af704
Added toggleSelectAll functions, improved egw_action_popup, tested, fixed some bugs
2011-02-26 20:40:27 +00:00
Andreas Stöckel
1f751b452a
Implemented egw_popup_action, tested, got it working with IE
2011-02-26 18:04:28 +00:00
Andreas Stöckel
49770971ce
First test with egwActionObjectInterface for a listbox-like representation of egwActionObjects (test_action.html), fixed bugs in egw_action.js which occured during testing.
2011-02-24 21:39:05 +00:00
Andreas Stöckel
53a041c488
Finished implementation of the abstract egwAction interface - now going to test it
2011-02-24 19:00:47 +00:00
Andreas Stöckel
e416c61890
Backup of current development stage
2011-02-24 16:10:11 +00:00
Andreas Stöckel
1866dd1c43
(Hopefully) fixed broken SVN Id tags
2011-02-23 20:18:56 +00:00
Andreas Stöckel
e2c9cd49cc
Initial commit of the current JS implementation of the egw_action system, which will later be used to create context sensitive menus and drag and drop capabilities. The egw_menu.js/egw_menu_dhtml.js files are fully functional (see test in the test dir), implementation of egw_action.js has just started and not even a single line of that has been tested yet.
2011-02-23 18:24:16 +00:00