Commit graph

1312 commits

Author SHA1 Message Date
rolux
4818a7d617 quick fix for color pickers inside form panels 2012-07-09 16:29:45 +02:00
rolux
4b29ffe70e Ox.Checkbox: set width on init 2012-07-09 16:00:14 +02:00
rolux
c0837fb4ff Ox.FormPanel: add missing select event 2012-07-09 15:59:50 +02:00
rolux
cfa16327a5 Ox.Input: fix integer regexp 2012-07-09 15:59:28 +02:00
rolux
01717f3727 ExamplePanel/ExamplePage: add mode/selected option ('source' or 'live') 2012-07-05 21:38:02 +02:00
rolux
bda90f6b6b remove Ox.Break 2012-07-05 10:58:08 +02:00
rolux
4139e171ca fix place type detection 2012-07-05 10:42:15 +02:00
rolux
a0867f0da6 update widget documentation (arguments first) 2012-07-04 13:29:18 +02:00
rolux
daec992536 Ox.API: fix docs, return request id from API call 2012-07-04 13:15:32 +02:00
rolux
2d4ab2b32d Ox.DocPage: load inherited properties and events in collapsed state 2012-07-04 12:43:24 +02:00
rolux
459755e51f misc minor changes 2012-07-04 11:57:27 +02:00
rolux
6d2b95e943 DocPanel: add loading indication 2012-07-03 23:41:11 +02:00
rolux
0d53dfaf1a fix a bug in tree list 2012-07-02 18:24:30 +02:00
rolux
6cd9472b7c add a fixme 2012-07-02 18:23:50 +02:00
rolux
f5aa547f43 Ox.IconList: don't require 'keys' option if 'items' is a local array 2012-07-02 18:21:09 +02:00
j
2e5205fabe allow updating options.places with an array 2012-07-02 18:17:52 +02:00
rolux
f6a767b6cb test for existence of before looping over it 2012-07-02 15:45:18 +02:00
rolux
0fc6e09927 Ox.App: clean up code and documentation 2012-07-02 13:29:07 +02:00
rolux
79bea33e51 Ox.Element: reformat docs 2012-07-02 13:28:42 +02:00
rlx
197f937d86 remove some list voodoo 2012-06-30 19:59:20 +00:00
rlx
f22e5a032d IconList/InfoList: keep self.options.selected in sync 2012-06-30 16:12:05 +00:00
rlx
b5d5936e59 don't trigger event after timeout, see #731 2012-06-30 16:11:29 +00:00
rlx
e68b1e163b Ox.CalendarEditor: cleanup 2012-06-30 15:06:58 +00:00
rlx
0b8ca39ba6 remove a comment 2012-06-30 15:05:57 +00:00
rlx
dc438e2427 setTimeout before triggering events 2012-06-30 15:05:35 +00:00
rlx
d57affea4a Ox.List: change 'selected' update handler 2012-06-30 15:05:05 +00:00
rlx
f5901e4a1d Ox.TableList: keep self.options.selected in sync, plus some cleanup 2012-06-30 15:03:43 +00:00
rlx
146078e7ce fix bugs in Ox.MapEditor 2012-06-30 15:01:43 +00:00
rlx
ee23db5876 Ox.Map: update signature of select event, update docs 2012-06-30 15:00:38 +00:00
rlx
d30cda0cfd bind to 'select', not 'selectplace' 2012-06-30 14:59:52 +00:00
rolux
2dc8fd19aa update docs 2012-06-30 12:29:06 +02:00
rolux
2731f8dc89 update event controller 2012-06-30 12:15:27 +02:00
rolux
b5910f5f62 Ox.Element: use new event controller 2012-06-30 11:24:38 +02:00
rolux
32f85e42e4 new event controller 2012-06-30 11:24:03 +02:00
rolux
dfa0a9b8eb set interval between 'keys' events to 250 ms 2012-06-30 11:21:23 +02:00
rolux
7df61a8ac9 simplify event passing in Ox.List derivatives 2012-06-30 11:20:37 +02:00
rolux
91275f7171 minor reformatting 2012-06-30 11:18:55 +02:00
rolux
28b9614083 update Ox.Event (intermediate state) 2012-06-29 14:24:06 +02:00
rolux
64a182ae1d lists: implement select-as-you-type 2012-06-29 14:19:34 +02:00
j
864eacfbd7 Fix #873 prevent Firefox from cancling active XMLHttpRequests pressing escape 2012-06-29 10:23:59 +02:00
rolux
55e2174831 in TableLists, use options.unique, not options.columns[i].unique 2012-06-27 20:38:07 +02:00
rolux
d6dcf33427 fix a bug with computing keys 2012-06-27 20:29:39 +02:00
rolux
8296d3c405 TableList: don't require 'keys' if 'items' is array 2012-06-27 20:28:59 +02:00
rolux
c4d65facc5 fix textarea background CSS (since they may have labels) - still doesn't fix their active state 2012-06-27 19:04:34 +02:00
rolux
773311d8d7 TableList: add 'unique' option (until now, the unique id had be specified via columns, even if one had no intention to ever display it as a column) 2012-06-27 18:19:24 +02:00
rolux
f93c575c8f FileInput: handle disabled option 2012-06-27 12:56:17 +02:00
rolux
abc6cbbb15 FileButton: add default for image options 2012-06-27 12:55:38 +02:00
rolux
4c6756c192 MenuItem: handle disabled file items 2012-06-27 12:54:46 +02:00
rolux
544af185b1 MenuItem: update docs 2012-06-27 11:49:47 +02:00
rolux
f70946ff62 Menu: when clicking on file item, but next to the file input, don't trigger a click event 2012-06-27 11:49:13 +02:00
rolux
b1019a7c5d FileButton: add image option (so tooltip title becomes configurable if type is 'image') 2012-06-27 11:07:34 +02:00
rolux
0564db6ec5 allow for file buttons with 'image' type 2012-06-27 10:37:12 +02:00
j
9bb6b7bcb9 revert changes undone in #2224 2012-06-27 10:20:11 +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
j
2efbc53b33 only update list values once list has loaded 2012-06-26 16:26:32 +00:00
rolux
244591d57e appendTo(that.$element) -> appendTo(that) 2012-06-26 18:21:39 +02:00
rolux
969e0553b4 use [0] instead of .[0] 2012-06-26 18:01:47 +02:00
rolux
fb6c956250 remove debugging 2012-06-26 18:01:13 +02:00
j
75fe62730c Ox.*List do not share updateCallbacks with Ox.List, Ox.clone(self) is passed for event handler 2012-06-26 15:44:22 +00:00
rolux
69d125bc8e minor changes 2012-06-26 16:33:26 +02:00
rolux
e5652b4db1 fix misleading comment 2012-06-26 15:12:09 +02:00
rolux
b9e4f565ca Ox.Element: don't overwrite callbacks; reformatting 2012-06-26 14:54:30 +02:00
rolux
60c279ed1c add element id to event properties 2012-06-25 20:40:06 +02:00
rolux
f5782c475b Ox.divideInt -> Ox.splitInt 2012-06-25 16:43:03 +02:00
rolux
446f1a0de1 minor change 2012-06-25 16:32:16 +02:00
rolux
adb3355975 DocPanel: fix example links 2012-06-25 11:26:36 +02:00
rolux
d29bc5569b make Ox.rgb always return integers 2012-06-24 17:41:27 +02:00
rolux
a071d541de allow for stripping comments in doc panel (which implies hiding line numbers) 2012-06-23 20:44:13 +02:00
rolux
f473100875 allow for passing file to Ox.SyntaxHighlighter 2012-06-23 20:24:06 +02:00
rolux
6fcac07ee9 minor changes 2012-06-23 20:23:19 +02:00
rolux
ab11f85f26 remove log statement 2012-06-23 20:22:52 +02:00
rolux
9e8a0ca296 minor changes 2012-06-23 20:22:32 +02:00
rolux
0b2371e73e DocPanel: add 'expanded' option; don't fail when no element gets passed; don't fail when files is an empty array; some reformatting 2012-06-23 12:53:04 +02:00
rolux
63d12160cd add missing semicolons 2012-06-23 12:50:34 +02:00
rolux
2a5d06717e remove print statements 2012-06-23 12:50:02 +02:00
rolux
03418d2952 Ox.SourceViewer: temporary workaround for cases where the source code doesn't fill the full height 2012-06-23 12:49:18 +02:00
rolux
ee1d50283f fix docs 2012-06-23 01:54:33 +02:00
rolux
f51e5e9174 Example Panel: add item icons in list 2012-06-22 12:53:04 +02:00
rolux
e8f3caff8e EExamplePanel: make sure items are sorted alphabetically 2012-06-22 09:54:27 +02:00
rolux
b9a4ea2e42 Example Panel: use sections 2012-06-22 09:23:38 +02:00
rolux
0200a2478b DocPanel: don't empty page when selecting module or section folder 2012-06-22 09:22:58 +02:00
rolux
c301a73e38 TreeList: load in expanded state if options.expanded is true 2012-06-22 09:22:04 +02:00
rolux
21fb4aecc0 Ox.Bar: fix docs 2012-06-21 23:15:54 +02:00
rolux
f04f6d2663 TabPanel: add 'selectTab' alias 2012-06-21 13:48:29 +02:00
rolux
11377c99b9 fix a bug related to displaying test results 2012-06-20 17:13:43 +02:00
rolux
c575686fca minor reformatting 2012-06-20 11:37:55 +02:00
rolux
e23fbb2d35 Ox.LoadingIcon: support passing a number as size 2012-06-20 11:37:47 +02:00
rolux
a3f0a38bf2 ExamplePanel: don't fail when selecting non-existing id 2012-06-20 11:03:37 +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
0d802a16c9 fix a map positioning bug 2012-06-19 17:42:53 +02:00
rolux
4c3ef380b1 typo 2012-06-19 17:37:57 +02:00
rolux
f9dd2661f8 chasing a map positioning bug... 2012-06-19 17:36:08 +02:00
rolux
a4fedfd924 Ox.Map: don't fail when calling panToPlace, selectPlace or zoomToPlace before places have loaded 2012-06-19 17:05:20 +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
rolux
68321c7245 IconList/InfoList/TextList: add query option 2012-06-19 14:15:20 +02:00
rolux
ba1a3c4b2a add home button to doc page and example page 2012-06-18 10:57:52 +02:00
rolux
9a0bd1faec when clicking button, hide its tooltip 2012-06-18 10:54:08 +02:00
j
d2e05200da document events 2012-06-18 00:38:26 +02:00
rolux
69acb4a04e always use file button title as tooltip 2012-06-17 19:15:05 +02:00
rolux
fdb8a2b98b display correct ui for non-empty file inputs 2012-06-17 19:14:37 +02:00
rolux
fe8c97db24 in Ox.List, handle Ox.TreeList items update 2012-06-17 19:13:18 +02:00
rolux
ad368fb819 allow for updating a treelist's data option 2012-06-17 19:12:23 +02:00
rolux
36a5f5a95f clone menu items before extending them 2012-06-17 19:11:23 +02:00
rolux
9dbedf13f9 minor changes 2012-06-17 19:10:41 +02:00
rolux
23ad209561 call Ox.localStorage only once 2012-06-17 16:42:27 +02:00
rlx
e9579e10eb decode HTML entities before setting input value to autocomplete menu title 2012-06-16 20:48:30 +00:00
rlx
8f4e08063e in play loop, return false instead of calling Ox.Break 2012-06-16 20:47:17 +00:00
rlx
d63113d7bd remove print statements 2012-06-16 20:46:38 +00:00
rlx
743a36e308 Ox.Dialog: handle window resize 2012-06-16 17:24:19 +00:00
rlx
9899f80bfb animate({...}, 0) -> css({...}) 2012-06-16 16:50:58 +00:00
rlx
3fc8a47bf4 return original string when highlight is called without query; lazy format annotation date 2012-06-16 16:17:28 +00:00
rlx
77f0c762a3 Input: submit when doubleclicking clear button; + some reformatting 2012-06-16 13:36:03 +00:00
rlx
7c7f97066e FormElementGroup: don't trigger change on submit 2012-06-16 13:35:14 +00:00
j
8c7bf418ec dont blow the stack, fixes #853 2012-06-16 18:10:19 +02:00
j
099fbc7880 dont show Run tests is showTests is false, fix documentation example 2012-06-16 14:25:08 +02:00
rlx
cd6e17d124 minor reformatting 2012-06-16 10:09:21 +00:00
rlx
3e2c2d451e ButtonGroup: add enableButton/disableButton methods 2012-06-16 10:08:37 +00:00
rlx
dffd160ed3 TabPanel: add reloadPanel method; react to setting content option 2012-06-16 10:07:52 +00:00
rlx
165bd0457a remove log statements 2012-06-16 10:06:59 +00:00
rlx
a87d193ac4 fix #847 (<i> tag in subtitle); test for before looping over it 2012-06-15 19:50:04 +00:00
j
2a58661c9a subtitles are html, fixes #845 2012-06-15 18:26:18 +02:00
j
e443888eba dont set widht to 0 for videos that are exactly one hour 2012-06-15 17:20:17 +02:00
rlx
94355eb792 typo 2012-06-15 13:29:06 +00:00
rlx
856ea3b1d3 enable timeline types 2012-06-15 13:20:07 +00:00
rolux
fbeb434e27 remove print statements 2012-06-15 11:47:18 +02:00
rolux
64c3d3457b update ColorInput, ColorPicker and Picker 2012-06-15 11:43:11 +02:00
rolux
41f061335f remove log statement 2012-06-15 11:42:40 +02:00
rolux
4b143de951 Ox.Checkbox: change default width from 'auto' to 16 if there is neither a label nor a title 2012-06-15 11:38:25 +02:00
rolux
c8cdcc92c0 minor cleanup 2012-06-15 11:32:27 +02:00
rolux
b2eaf6a867 add OxDocPage and OxExamplePage CSS classes 2012-06-15 10:43:20 +02:00
rolux
144b4cdb42 remove log statement 2012-06-15 10:40:15 +02:00
j
0b60f45341 fix indent for rows without icon should in treelist 2012-06-15 10:38:32 +02:00
j
3b1fd5c38c fix TreeList rows with no icon, fixes #843 2012-06-15 10:31:38 +02:00
rolux
b7129af1b4 Ox.SelectInput: focus input when switching to 'other' option 2012-06-14 16:05:17 +02:00
rolux
6bdf96fe6b DateInput/TimeInput/DateTimeInput: don't fail when options are undefined 2012-06-14 15:50:00 +02:00
rolux
91ee1419aa Ox.Spreadsheet: allow for not passing options.value.values 2012-06-14 15:46:57 +02:00
rolux
3fbefa2278 Ox.Input: trigger change event when clicking arrows 2012-06-14 14:31:44 +02:00
rolux
72ed28494d cleanup 2012-06-14 14:31:00 +02:00
rolux
14a4d48b6d explicitely set border-radius 2012-06-14 12:35:28 +02:00
rolux
c22da1cfc5 Ox.FormItem: use 'OxSelectable' class 2012-06-14 12:34:46 +02:00
rolux
38e01c26ca Ox.FormPanel: use section id, not title, as values key; use 'OxSelectable' class 2012-06-14 12:34:24 +02:00
rolux
61e425f64d update FormPanel 2012-06-13 15:56:42 +02:00
rolux
889ad7a83a in ObjectInput and ObjectArrayInput, don't set height 2012-06-13 15:55:34 +02:00
rolux
2b494815f2 fix a bug in select input 2012-06-13 15:53:50 +02:00
rolux
63d5f04af7 Ox.TreeList: add 'expanded' option 2012-06-13 15:53:20 +02:00
rolux
9d877800b4 Ox.DocPanel: when navigating to folder in list, don't deselect it 2012-06-13 12:08:54 +02:00
rolux
3136c8f381 Ox.DocPanel: fix bugs related to ids and selection (the panel's selected option is item name or empty string, the list's selected option is ['the/full/id']) 2012-06-13 12:05:32 +02:00
rlx
ba5bea09f0 fix #833 (JS error when collapsing sidebar in timelines view) 2012-06-13 08:37:07 +00:00