Commit graph

1810 commits

Author SHA1 Message Date
rolux
8bfe9f5335 fix an issue where selected 16px wide column heads of table lists would not have the correct gradient (as the invisible triangle would increase the element's height) 2012-09-03 22:49:07 +02: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
8407a88af1 remove trailing whitespace 2012-09-03 22:14:53 +02:00
rolux
0d0926cbf5 In Ox.cache (which is now called onload in Array.js to cache getSortValue), remove dependency on Ox.extend (which would depend on Ox.forEach) 2012-09-03 22:14:08 +02:00
rolux
f5c320187e In Ox.api, add a map option {key: fn(value, object)}, value being object[key], so that the sort value can depend on other keys; Ox.sortBy is updated to use getSortValue (cached sort value of mapped value) instead of getSortValues (precomputed mapped sort value per value, which is no longer unique) 2012-09-03 22:11:25 +02:00
rolux
baf29d068b remove an onload dependency 2012-09-03 21:59:53 +02:00
rolux
863ddfeafa remove an onload dependency 2012-09-03 21:11:57 +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
d16f76f0da add constant Ox.EARTH_SURFACE 2012-09-01 05:51:35 +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
da319f0807 fix for text on buttons and in inputs being 1px too low in recent versions of chrome (fixes #924) 2012-08-30 02:35:36 +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
rolux
b5a2e80878 fix sort value for '[article] [number or quoted string]', add test 2012-08-29 17:40:27 +02:00
rlx
0de55efb96 Menu: parse HTML entities for title property of events 2012-08-13 13:20:07 +00:00
rolux
ff1e6d4833 make Ox.compact more compact and flatten Ox.flatten 2012-07-13 15:51:49 +02:00
rolux
518a032325 detect and support webkit/ios, fixes #96 2012-07-11 16:30:31 +02:00
rolux
631c5c39c8 quick fix to detect and support chrome on iOS 2012-07-11 16:10:42 +02:00
rolux
1ac080f6dd fix a bug in Ox.Image forEach 2012-07-11 14:45:59 +02:00
j
01739e1b19 fix opera css shadow 2012-07-09 20:45:26 +02: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
j
223d9470a9 add useCapture argument to addEventListener, not optional in FF 3.6 2012-07-05 19:50:01 +02:00
rolux
a155ff5487 fix Ox.localStorage for Firefox 3.6 2012-07-05 19:48:20 +02:00
rolux
b8f88958da cleanup documentation 2012-07-05 19:47:57 +02:00
rolux
f4c34d858c remove Ox.polyfill.localStorage 2012-07-05 19:47:33 +02:00
j
4b71d7c03b merge 2012-07-05 19:45:41 +02:00
j
762d5ca963 fix load on IE and Firefox 3.6 2012-07-05 19:05:52 +02:00
rolux
0f44e64885 remove some comments 2012-07-05 11:36:17 +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