Commit Graph

26 Commits

Author SHA1 Message Date
Nathan Gray
897a16cd8f Don't keep selection if it is not returned after an update.
Fixes IDs stay after entry is changed to not match the current filters.
2015-04-14 16:40:15 +00:00
Nathan Gray
12ab21e6a4 - Propagate clearSelection() to children
- Fix missed change in previous commit
2014-09-01 18:44:13 +00:00
Ralf Becker
ac18b6cc8d changed et2_core_inheritance.js to implement ClassWithAttributes extending Class from egw_inheritance and changed et2 objects to use ClassWithAttributes when required (also fixed lots of IDE warnings / added docu) 2014-03-20 09:40:37 +00:00
Nathan Gray
dbbad57f90 Fix selecting next entry when there are no others 2014-03-06 18:07:47 +00:00
Nathan Gray
87473ae76b Fix cache clearing in selection manager 2014-01-21 15:50:06 +00:00
Nathan Gray
4d997bf7c8 Fix up caching, clearing and filtering, so we cache what we need and clear only what we have to when filtering
Selection still needs work.
2014-01-21 15:21:42 +00:00
Nathan Gray
46c80212ba Better calculation for next/previous index of sparse map 2014-01-18 11:47:36 +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
Nathan Gray
344a63b37c Fix removing (delete) a row from nextmatch
- Fix broken destroy callback
- Fix caching & actions to be removed
- Fix always removing the last row also
- Fix indexing so arrow keys work over sparse indexMap
2014-01-17 17:57:59 +00:00
Nathan Gray
7c7d6391ab - Automatically add 'Select All' action with Ctrl+A shortcut after first action group
- Implement Select All into selection controller so it works even if all rows aren't loaded
2013-10-24 17:29:11 +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
Klaus Leithoff
8913df2366 remove console logging on focused 2013-04-29 14:59:55 +00:00
Klaus Leithoff
efd4d85143 add rename of an item. caveat, does not rename dependent leafs yet 2013-04-29 14:58:29 +00:00
Nathan Gray
6f124f4b10 When nm loads data, make sure selection is still shown 2013-04-23 15:34:47 +00:00
Ralf Becker
e64c4fbd04 add some JSDoc so Eclipse shows an outline: @memberOf and @augments (not yet understood by Eclipse), also fixed many warnings (mostly missing semicolons) 2013-04-13 19:00:13 +00:00
Nathan Gray
7f80c74b59 Add onselect attribute for nextmatch 2013-04-12 09:28:42 +00:00
Nathan Gray
8192f13b3b Fix typos preventing some drops 2013-04-11 12:22:34 +00:00
Nathan Gray
88df7e232c Make sure action object is set before using it 2012-05-23 23:55:01 +00:00
Nathan Gray
b2e9b07af8 Get most submit actions working 2012-04-10 20:27:37 +00:00
Andreas Stöckel
f50b880c19 Fixed selection and getSelected() function; controllers and selection managers are now hirachical 2012-03-30 14:20:11 +00:00
Andreas Stöckel
1d405d05ba Implemented hirachical rows 2012-03-30 11:43:39 +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
596a67e285 Fixed synchronization between row AOs and selection manager internal AOI 2012-03-29 09:15:00 +00:00
Andreas Stöckel
74a15d8396 Selections do now get properly synchronized betweed egwAction code and selection manager 2012-03-28 16:35:28 +00:00
Andreas Stöckel
0ae151e638 Got selection working; only problem left with popup menus is, that entries don't get focused on rightclick 2012-03-28 15:36:17 +00:00
Andreas Stöckel
32f02acf8f Added forgotten selection manager 2012-03-28 08:05:28 +00:00