Commit graph

54 commits

Author SHA1 Message Date
j
6cf7083665 FF complains about dead code afte return, comment out 2017-11-06 21:22:03 +02:00
j
f043242640 add some touch support
- fire touch(start|move|end) events after adding clinetX/Y
- use touch events in video and timeline widgets
- use touchstart to select item in ArrayEditable
2016-07-27 21:55:34 +02:00
adbf2dad81 ArrayEditable: replace self.$items
When shrinking the number of items, this allows the old elements to be
GCed sooner.
2016-06-23 17:56:22 +02:00
84b3c34130 Editable: avoid setTimeout
It's easily avoided and clearer without it.
2016-06-23 17:56:22 +02:00
db343c382e ArrayEditable: one tooltip, not one per element
When changing the visible annotations in the bins in Pandora, creating
(and destroying) all the Ox.Tooltips takes a substantial fraction of the
time. So instead, maintain only one tooltip for each ArrayEditable.
2016-06-23 17:56:22 +02:00
3637b70244 Autocomplete: only replace input when a prefix matches (fixes #2753)
Previously, if the top match for "Smi" was "John Smith", the contents of
the field would be changed to "Smi[n Smith]" (where square brackets
indicate selection). On top of this, if you then type the fourth letter
("n"), the input becomes "Smin", which is not what you typed.

This preserves the "happy path" for replacing the field contents if
there is a prefix match, but without making the field unusable if
there's an infix match.
2016-03-02 17:08:45 +00:00
rlx
d9ef18d482 indeterminate checkboxes... 2016-02-10 13:24:57 +05:30
rlx
2944379b71 indeterminate checkboxes... 2016-02-10 13:22:38 +05:30
rlx
1472927883 indeterminate checkboxes... 2016-02-10 13:19:45 +05:30
rlx
6d560fc4f5 indeterminate checkboxes... 2016-02-10 13:17:17 +05:30
rlx
ff30b32188 indeterminate checkboxes... 2016-02-10 13:15:15 +05:30
rlx
5ea5a5ee2b indeterminate checkboxes... 2016-02-10 13:10:38 +05:30
rlx
56c72ba0b4 'minus' -> 'remove' 2016-02-10 13:08:10 +05:30
rlx
4248a3a783 indeterminate checkboxes... 2016-02-10 13:06:15 +05:30
rlx
12c466b0d3 indeterminate checkboxes... 2016-02-10 13:04:39 +05:30
rlx
0dd921caae indeterminate checkboxes... 2016-02-10 13:03:36 +05:30
rlx
368ae04fe0 Ox.Checkbox: add indeterminate option 2016-02-10 12:56:19 +05:30
j
0327947864 fix form_elements example 2016-01-30 22:39:45 +05:30
rlx
731c2e88fe Filter: handle formatISBN 2016-01-17 16:44:59 +05:30
rlx
3f4fa3b1fe support for squared select inputs 2016-01-13 14:17:31 +05:30
rlx
32252a1dfd some more support for squared style 2016-01-12 11:11:08 +05:30
rlx
53bc6e9e56 checkboxes: allow for squared style 2016-01-12 09:50:00 +05:30
j
7516c940f5 use default value instead of '', fixes #2848 2015-10-12 15:41:11 +01:00
j
97ede3643e Ox.Range: update size if max/min/step changes 2015-03-14 11:24:47 +05:30
j
46d0dcf2e3 add option to Ox.Input to set readonly attribute 2015-02-27 12:26:47 +05:30
rolux
8e32500063 fix input with arrows 2015-02-21 12:47:11 +05:30
j
862fe8c6bd fix FormElementGroup.value 2015-02-15 10:18:25 +00:00
rolux
1737b452cf typo in docs 2015-02-15 10:02:11 +00:00
rolux
ba3416784f refactor array input 2015-02-14 19:52:13 +00:00
rolux
91d3f438b7 FormElementGroup: support setting value via .value() 2015-02-14 19:51:55 +00:00
rolux
35b0c46eac ArrayInput: add 'isEmpty' option 2015-02-14 19:09:51 +00:00
j
e97b4ee922 fix adding input with value 2015-02-13 11:05:46 +00:00
rolux
50f41fe0c4 ArrayInput: support FormElementGroups as Inputs; fire 'add' and 'remove' events 2015-02-13 10:48:38 +00:00
rolux
600cbc877b cosmetic changes 2015-02-13 09:10:17 +00:00
j
547ce17f81 focus disabled input elments, fixes #2660 2015-02-06 11:44:41 +00:00
rolux
4134badf9d editor view: fix invalid entity inputs; fix keyboard focus 2015-02-06 10:16:13 +00:00
j
7b24011ea1 Ox.Editable tpye=input: on submit value gets piped through Ox.encodeHTMLEntities, decode before editing 2015-01-09 18:53:17 +01:00
rolux
c3a309585e tentatively add public updateItem method to ArrayEditable 2014-12-17 19:36:13 +00:00
rolux
4710f80b65 focus input after hiding autocomplete menu 2014-12-17 19:27:04 +00:00
rolux
6e7a1936dc remove timeout and logging 2014-12-17 15:43:43 +00:00
rolux
c7d9ffc615 pass options through editable 2014-12-17 15:39:58 +00:00
rolux
424bbdd759 pass options through array editable 2014-12-17 15:38:16 +00:00
rolux
5f15edeb16 add logging 2014-12-17 15:28:43 +00:00
rolux
073e9badd6 still testing 2014-12-17 14:57:04 +00:00
rolux
655f77a06d testing, try longer timeout 2014-12-17 14:54:59 +00:00
rolux
a7739f5e5e testing, try timeout 2014-12-17 14:44:24 +00:00
rolux
c36243d31c Ox.Input: add autocompleteSelectOffset and autocompleteSelectUpdate options 2014-12-17 14:35:10 +00:00
rolux
a21327ff7e fix #2597 (pandora): 'if an annotation contains a link, tooltip has to change' 2014-12-17 12:37:03 +00:00
rolux
e43881c594 add 'unformat' option to editables 2014-12-16 20:38:41 +00:00
rolux
4538f3801a ArrayEditable: pass format option 2014-12-16 20:23:17 +00:00