Commit Graph

60 Commits

Author SHA1 Message Date
Aleksander Machniak
5f26d9bf34 Prevent "calling draggable before initailization" errors
Elastic skin disables dragging on folders list, so we have to check
if it's still draggable before we call draggable() again. Otherwise
it will throw an error.
2017-12-27 09:13:41 +01:00
Aleksander Machniak
4a5941c24b Fix get_next() for case when the node is last in the tree branch 2017-12-10 19:37:34 +01:00
Aleksander Machniak
d815525c6a Merge branch 'master' into dev-elastic 2017-10-20 13:34:25 +02:00
Aleksander Machniak
459cc7ab6d Fix bug where removing the last subfolder did not hide toggle button on its parent record (#6007) 2017-10-20 10:43:56 +02:00
Aleksander Machniak
19ad6b15e8 Add (unified) get_next/get_prev/get_single_selection methods for list and treelist widgets 2017-09-12 18:06:29 +02:00
ka7
9a35768c26 spelling fixes (#5690) 2017-03-12 12:14:19 +01:00
Aleksander Machniak
c13119b81c Fix bug where folders list would scroll to top when clicking on subscription checkbox (#5447) 2016-09-28 20:36:14 +02:00
Aleksander Machniak
4bf4afec68 Fix so folders list is scrolled to the selected folder on page load (#5424) 2016-09-02 13:59:01 +02:00
Aleksander Machniak
7caa9f5f50 Fix error on dragging when search in treelist is active 2015-11-05 15:40:10 +01:00
Aleksander Machniak
1484d5fb7f Fix resetting search input events when the treelist is re-initialized, some CS improvements 2015-10-06 11:14:43 +02:00
Aleksander Machniak
e524680a13 Fix 'last' property of search event 2015-10-04 13:13:07 +02:00
Thomas Bruederli
d17975c776 Do not re-append an existing node when re-rendering with childs 2015-03-12 19:52:06 +01:00
Thomas Bruederli
db6663b936 Update internal reference to treelist node contents after insert. Fixes some strange behavior in FF 3.6 2015-02-24 15:15:14 +01:00
Thomas Bruederli
ceee7eb110 Prevent folder selection changes if app is busy (#1490158) 2014-12-18 13:13:07 +01:00
Aleksander Machniak
3d8745bd0b Fix drag-n-drop to folders expanded while dragging (#1490157) 2014-11-17 09:36:01 +01:00
Thomas Bruederli
7acda7a6f4 Also remove cloned search item from treelist 2014-09-11 12:48:13 +02:00
Thomas Bruederli
4a25b69828 Small tweaks for treelist interactions 2014-09-08 18:04:37 +02:00
Thomas Bruederli
3fb36a11fe Add option to focus a treelist widget on clicks to the container (#1489997) 2014-08-20 09:03:19 +02:00
Thomas Bruederli
48e340a829 Allow focussing treelist item checkboxes with tab and normal list navigation with cursor keys (#1489648) 2014-08-13 18:25:09 +02:00
Aleksander Machniak
e9ecd49f74 Added namespace filter in Folder Manager 2014-08-11 13:11:10 +02:00
Aleksander Machniak
ef4c478760 Reset search after folder creation/remove/rename 2014-08-08 13:36:33 +02:00
Aleksander Machniak
66233b76c8 Added folder searching in Folder Manager 2014-08-08 12:52:26 +02:00
Thomas Bruederli
00dd283999 Getter to detect if treelist widget is in search mode 2014-08-07 18:00:31 +02:00
Aleksander Machniak
2c0d3e1dd0 Fix drag-n-drop after folder move/create (#1489648) 2014-07-25 17:40:37 +02:00
Aleksander Machniak
3cb61e7528 Collapsible (and iconized) folders tree in folder manager (#1489648) 2014-07-16 11:08:11 +02:00
Aleksander Machniak
793fa9876a Remove leftover code - fixes js error 2014-07-03 08:47:49 +02:00
Aleksander Machniak
c6447e2ce2 Use treelist widget for folders list in Settings/Folders (#1489648) 2014-07-02 13:03:22 +02:00
Thomas Bruederli
50177172e4 Apply selection styles to clones search result items, too 2014-06-26 11:31:21 +02:00
Thomas Bruederli
0ebb250164 Minor optimization 2014-06-25 18:42:30 +02:00
Thomas Bruederli
dfc9d7f209 Mute clicks on virtual treelist item links (they need tabindex=0 in order to be focusable by keyboard though) 2014-06-24 14:19:36 +02:00
Thomas Bruederli
a6a66b687f Fix updating and re-sorting treelist nodes 2014-06-24 11:59:40 +02:00
Thomas Bruederli
9cc0c12bcd Allow to move a treelist node to a new parent with .update() 2014-06-24 10:51:09 +02:00
Thomas Bruederli
0c9fc953b0 Fix keyboard navigation with nested link element in treelist nodes 2014-06-23 10:48:45 +02:00
Thomas Bruederli
6c647deffc Option to disable cursor keyboard navigation on treelist widgets 2014-06-18 10:52:55 +02:00
Thomas Bruederli
9749aeeb0b Avoid scrolling of lists and menus when navigating with cursor keys (#1489929) 2014-06-16 12:35:57 +02:00
Thomas Bruederli
74052d49b9 Avoid scrolling when moving focus from a treelist widget (#1489929) 2014-06-16 12:01:30 +02:00
Thomas Bruederli
bf33799377 Navigate with arrow keys only in treelist widgets; fix keyboard event detection in IE; new text label to help screen readers 2014-06-05 16:44:35 +02:00
Thomas Bruederli
7fafb4d0d2 Remove leftover from merge; set alt text for contact photo 2014-06-05 09:23:13 +02:00
Thomas Bruederli
99cdca46b7 Merge branch 'dev-accessibility'
Conflicts:
	program/include/rcmail_output_html.php
	program/js/app.js
	program/js/treelist.js
	program/lib/Roundcube/html.php
	skins/larry/styles.css
	skins/larry/templates/compose.html
2014-06-05 09:18:07 +02:00
Thomas Bruederli
586ed69aa8 Add method to make a treelist widget become a jQuery UI droppable with support for auto-scrolling and auto-expanding 2014-05-28 12:38:34 +02:00
Thomas Bruederli
072f1aa97b Minor fixes for teelist searching 2014-05-15 17:45:16 +02:00
Thomas Bruederli
b08986f375 Small improvements to make treelist work in search-mode 2014-05-14 20:35:16 +02:00
Thomas Bruederli
1ee5d134f9 Fix invalid var pointer 2014-05-13 19:27:38 +02:00
Thomas Bruederli
e3f84735d7 Extend treelist.js with search function and saving collapse/expand states in localStorage 2014-05-13 17:48:46 +02:00
Thomas Bruederli
5983ba959d Create treetoggle icons if necessary 2014-05-12 17:05:44 +02:00
Thomas Bruederli
782a86e497 Fix treelist keyboard navigation + assign aria-level attributes to treeitems 2014-05-12 10:42:34 +02:00
Thomas Bruederli
a2f8fa2361 Set aria-selected and aria-expanded state attributes 2014-05-12 10:32:45 +02:00
Thomas Bruederli
eb95518ef9 Enable keyboard navigation on treelist widgets with cursor keys 2014-05-01 10:54:45 +02:00
Thomas Bruederli
e8bcf08c72 1. Prepare core and Larry skin for improved accessibility
2. Implement full keyboard navigation in main mail view
2014-04-30 16:21:29 +02:00
Thomas Bruederli
b34d679075 Specify licenses in all javascript files and blocks to please LibreJS 2014-04-27 15:35:07 +02:00