Aleksander Machniak
e01ec25aac
Use setTimeout() without window. prefix consistently
2021-07-14 13:18:58 +02:00
Sebastian Abshoff
362cd20b78
Reuse clonerow event to update toggle within active search
2020-10-04 15:08:49 +02:00
johndoh
3af6303ad7
Remove depreciated jquery.trim function ( #7371 )
2020-05-04 08:27:10 +02:00
Aleksander Machniak
fa34e5ebcd
Fix bug where a new saved search added after removing all searches wasn't added to the list ( #7061 )
2019-11-24 08:15:48 +01:00
Aleksander Machniak
8d81df7dc3
Fix bug where a new contact group added after removing all groups from addressbook wasn't added to the list
2019-11-22 10:11:45 +01:00
Aleksander Machniak
dbc2b5e11c
Fix bug where deleting a saved search in addressbook caused display issue on sources/groups list ( #7061 )
...
also remove dead code.
2019-11-22 09:41:25 +01:00
johndoh
3a40f6cd91
Add expand_all/collapse_all treelist methods ( #6860 )
...
* add expand_all()/collapse_all() treelist methods
* prevent possible race condition in rcmail.folder_collapsed()
2019-08-10 08:46:33 +02:00
Aleksander Machniak
d646a10217
Add in_selection() to rcube_treelist_widget
...
So code working on all lists doesn't have to check widget type
to work with selection.
2019-05-20 11:33:14 +02:00
Aleksander Machniak
3719ce0653
Don't use :has selector
2019-05-05 11:01:16 +02:00
Aleksander Machniak
187b51fd82
Fix bug where parent entry could be selected when clicking on a virtual entry
2019-04-25 10:30:42 +00:00
Aleksander Machniak
57c67db029
Remove year(s) from copyright headers + some cleanup
2019-04-16 10:42:45 +02:00
Aleksander Machniak
f0811f6f50
DOn't use deprecated (and slow) selectors
2019-04-11 10:47:11 +02:00
Aleksander Machniak
b232886488
Properly cleanup on drag end in treelist widget
2019-03-08 12:25:28 +00:00
Aleksander Machniak
743794f1d8
Treelist: Add possibility to not reset selection on reset()
2019-03-07 11:26:12 +00:00
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