Commit graph

1291 commits

Author SHA1 Message Date
rolux
6433c31002 bugfix in map editor 2012-09-10 14:36:43 +02:00
rolux
7ca44d1ada bugfix in map editor 2012-09-10 14:28:12 +02:00
rolux
20aeb914eb minor change 2012-09-10 14:25:04 +02:00
rolux
91bd0e3684 typo 2012-09-10 14:24:14 +02:00
rolux
93d511f728 minor change 2012-09-10 14:14:40 +02:00
rolux
58706d1f99 fix a potential JS error in Ox.Map 2012-09-10 14:05:11 +02:00
j
d2859f10ef set src of videos to '' before removing from dom to work around chome bug #31014 2012-09-07 03:54:18 +02:00
rolux
075aac449c minor timeout voodoo 2012-09-05 12:05:01 +02:00
rlx
4105f79106 Ox.Map bugfixes & cleanup: make setting 'places' and 'selected' options at the same time work, fix meta key handler, remove misnamed 'addPlaces', fix potential JS error in 'addPlaceToPlaces', make sure self.places contains only the visible places 2012-09-05 10:04:23 +00:00
rlx
d5da93f59e fix label widths in map editor ('geoname' truncated in recent versions of Chrome on OS X) 2012-09-05 09:46:00 +00:00
rlx
e52ac44a1b On maps, only allow for creating combined places via shift-click or meta-click if the map is editable 2012-09-05 09:29:06 +00:00
rolux
e50d4c22db In Ox.List, pass map option to Ox.api 2012-09-03 22:27:09 +02:00
rolux
a3ddc7c2d4 In Ox.TableList, add a 'sort' property for columns (a function with two arguments, the item's value for this column and the full item object), so that the sort order can now depend on other keys (and we can abandon the pattern of passing the sort value as value and a complicated format function to get the actual value) 2012-09-03 22:26:27 +02:00
rolux
f4cdfb3349 Ox.Map: add public methods getCenter and setCenter 2012-09-01 13:15:47 +02:00
rolux
dfffe99a04 Ox.Map: trigger select event if, after updating the items option, the previously selected item is no longer present 2012-09-01 11:52:26 +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
rolux
a01ab0ab58 TableList: add clearButton and clearButtonTooltip options, update CSS 2012-08-31 16:57:03 +02:00
rolux
3e57cbd785 Ox.Map: add markerTooltip option (custom format function) 2012-08-31 09:22:15 +02:00
rolux
6f545969e4 minor bugfix 2012-08-31 08:54:24 +02:00
rolux
95502a62a1 update enable/disable horizontal scrolling option in table list 2012-08-31 08:51:30 +02:00
rolux
3fcedf2b30 lists: return that from public size method 2012-08-31 00:16:26 +02:00
rolux
2d109d103e TableList: add option disableHorizontalScroll and public methods addColumn, removeColumn, getVisibleColumns, setVisibleColumns and getColumnWidth, and add setColumnWidth as alias for resizeColumn; return that from public size method 2012-08-31 00:16:09 +02:00
rolux
62a67e7b1f fix a bug preventing item title updates in menus 2012-08-30 22:25:32 +02:00
rolux
8572f93334 replace tabs with spaces 2012-08-29 17:42:50 +02:00
rolux
c4c49fd1d1 ButtonGroup: add public buttonOptions method 2012-08-29 17:42:30 +02:00
rolux
5e39926816 replace tabs with spaces; add fixme 2012-08-29 17:41:40 +02:00
rlx
0de55efb96 Menu: parse HTML entities for title property of events 2012-08-13 13:20:07 +00:00
rolux
bb686389ce remove print statements 2012-07-09 17:38:30 +02:00
rolux
3ea3600a23 convert some tabs to spaces 2012-07-09 16:31:04 +02:00
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