Commit graph

58 commits

Author SHA1 Message Date
rolux
603dfa3d3a Lists: Add getPasteIndex method 2014-02-12 13:56:54 +00:00
rolux
4004f4a247 comment out profiling 2014-02-07 11:07:53 +00:00
j
45155f1f71 fix setting items and sort at the same time 2014-02-07 08:37:46 +00:00
j
687fa24c53 doc cleanup 2014-02-06 10:27:09 +00:00
rolux
ca22ed9c8a update comment 2014-02-02 13:18:09 +00:00
rolux
382f9fce79 change semantics of shift+arrow in one-dimensional lists to always mean 'move cursor' (like in grid lists); make shift+click on selected item move that item to the first position in the selection 2014-02-02 13:15:09 +00:00
rolux
e069f11c9a Lists: make most recently selected item selected[0]; add selectSelected method to change this item from outside 2014-02-02 12:34:12 +00:00
j
d039d0c781 use Ox.debounce to fix instant list selection, fixes #2142 2014-02-02 01:17:20 +05:30
rolux
86e80a2229 grid lists: support even wider lists 2014-01-18 02:23:45 +00:00
rolux
761ff5974a grid lists: more items per page for wider lists 2014-01-18 02:20:17 +00:00
rolux
1df53b7bde Ox.List: store items in self.items 2013-12-31 13:28:36 +05:30
rolux
a5baff8319 Ox.List: make value method accept (id, {key: value}) 2013-12-01 14:54:42 +01:00
rlx
3187d70972 don't set icon list container overflow-y to hidden when filling first page, finally fixes #538 (scrollbars disappear on search results view) 2013-08-09 20:56:05 +00:00
rlx
b095385d14 remove Ox.ListPage 2013-08-07 07:45:12 +00:00
rlx
66ee836c13 fix control_x handler in Ox.List 2013-08-03 14:47:25 +00:00
rlx
20137da742 trigger cut and cutadd events (consumer of list events may want to differentiate between cut and delete) 2013-08-03 13:57:55 +00:00
rlx
1fc0a0191b Lists: add public 'selectAll' and 'invertSelection' methods 2013-08-02 12:23:43 +00:00
rlx
564ce69a78 exclusively handle selectability of text via .OxSelectable and body.OxDragging (to be set/unset in dragstart/dragend handlers) 2013-07-19 08:42:25 +00:00
rlx
60bf786a3a Ox.List: add support for moving a (potentially discontinuous) selection of multiple items 2013-07-17 10:20:24 +00:00
rlx
dd9fd84bdf Ox.List: fix keyboard event names 2013-07-14 17:45:45 +00:00
rlx
c8d0969a41 Ox.List: set item.options('position'), not item.data('position') 2013-07-14 13:41:02 +00:00
rlx
8383643549 Ox.List: cleanup; trigger copy (add) and cut (add) events 2013-07-13 23:06:01 +00:00
rlx
6c79e5711e allow for updating 'draggable' and 'sortable' options of a table list 2013-07-13 14:01:17 +00:00
rolux
fab8dfa473 add fixme 2013-07-11 11:26:24 +02:00
j
e929a7266a revert last commit 2013-06-04 12:27:09 +00:00
j
e4b935e5ed self.optoins.items returns request id, dont overwrite with additional info, if callback needs query, self.options.items should pass that info to callback. 2013-06-04 11:57:50 +00:00
rolux
a84fa05d73 cleanup List.js 2013-05-15 09:30:31 +02:00
j
697edd72a3 List.js trigger doubleclick event on touchend if selection was not changed
this allows list navigation for mobile devices that have not double click.
tested on Android 4 in Chrome, Firefox and Android Browser
2013-05-14 17:12:44 +00:00
rlx
74e6c12904 selectbefore/selectafter -> selectprevious/selectnext 2013-05-08 16:53:33 +00:00
rlx
42760324f3 cosmetic change 2013-03-05 06:06:03 +00:00
rolux
2a7c20a043 in a list's init event, pass the query if the async items function immediately returns one 2013-02-16 15:01:27 +05:30
rolux
abb6d2a8be pass query with list init event 2013-02-12 07:01:45 +05:30
rolux
1b2c83e121 fix column class name for table list cells 2013-02-08 17:38:24 +05:30
rolux
800b9ac17c Ox.List: add public 'selectPosition' method 2012-12-18 11:45:20 +01:00
rolux
e3e3540ef3 fix icon list 'centered' option and animation 2012-12-13 02:25:32 +01:00
rolux
e50d4c22db In Ox.List, pass map option to Ox.api 2012-09-03 22:27:09 +02:00
rolux
39708edd8b correctly compute list height in Ox.List if horizontal scrolling is disabled in Ox.TableList 2012-09-01 11:46:01 +02:00
rlx
0de55efb96 Menu: parse HTML entities for title property of events 2012-08-13 13:20:07 +00:00
rolux
bda90f6b6b remove Ox.Break 2012-07-05 10:58:08 +02:00
rolux
6cd9472b7c add a fixme 2012-07-02 18:23:50 +02:00
rlx
197f937d86 remove some list voodoo 2012-06-30 19:59:20 +00:00
rlx
d57affea4a Ox.List: change 'selected' update handler 2012-06-30 15:05:05 +00:00
rolux
91275f7171 minor reformatting 2012-06-30 11:18:55 +02:00
rolux
64a182ae1d lists: implement select-as-you-type 2012-06-29 14:19:34 +02:00
rolux
d6dcf33427 fix a bug with computing keys 2012-06-27 20:29:39 +02:00
rolux
e38a09cd42 update inline comments 2012-06-27 09:43:28 +02:00
rolux
bdebb03a45 TextList -> TableList 2012-06-27 09:41:10 +02:00
rolux
5bbce78878 remove unneeded cloning 2012-06-19 19:43:19 +02:00
rolux
e1bd7d0cb3 remove log statement 2012-06-19 19:32:37 +02:00
rolux
3a3354818a List: add query option; fix a bug related to Ox.api returning -1 as position (as opposed to the pandora backend, which doesn't include the id in that case); fix a bug related to determining sizes when items is an array 2012-06-19 14:18:16 +02:00