Commit Graph

42 Commits

Author SHA1 Message Date
beatryder
b0182d7822 Spinner: modified _spin and _setOption to call new method _trimValue to check for min/max values. Fixed #7264 - Spinner returns values beyond min and max, off by one 2011-06-13 20:42:45 -05:00
Jörn Zaefferer
27a4fdd8ed Spinner: disable text selection on buttons (plus minmal whitespace cleanup) 2011-05-30 20:08:58 +02:00
Scott González
6a5b21fda2 All: Moved version numbers into prototypes. Fixed #7436 - Widget: Store version numbers on instances. 2011-05-28 15:39:55 -04:00
Scott González
af35f0bbc9 Spinner: Changed casing of option numberformat -> numberFormat. 2011-05-25 15:44:43 -04:00
Scott González
a47bfa196b Spinner: Coding standards. 2011-05-17 21:07:44 -04:00
Scott González
d4dadd14c2 Merge branch 'remove-spinner-output' of https://github.com/ajpiano/jquery-ui 2011-03-22 08:55:00 -04:00
adam j. sontag
00547ec046 Spinner: Remove debugging output that appends directly to the body from mousewheel handling. 2011-03-21 17:37:57 -04:00
adam j. sontag
02ba487db0 Spinner: Set the widgetEventPrefix to "spin" as per the spec. 2011-03-21 16:10:12 -04:00
jzaefferer
48f060ac25 Spinner: Ignore delta of 0 from triggered mousewheel event. Verified
that mousewheel scrolling actually works fine in IE6.
2011-02-26 12:10:52 +01:00
jzaefferer
a1eaac8847 Spinner: Use jQuery's focus() method instead of DOM method to set focus
to input. Fixes testsuite in IE6.
2011-02-21 22:45:19 +01:00
Scott González
1cb1b9cef7 Widget: Handle super calls when method calls go up and down the inheritance chain. 2011-02-11 08:53:43 -05:00
jzaefferer
ce51edefb3 Spinner: Fix time spinner demo; workaround for _super issue. 2011-02-07 20:37:06 +01:00
jzaefferer
ba4fa2b5ca Spinner: Fix unnecessary var 2011-02-07 18:50:19 +01:00
Scott González
678ff6326a Added version property to plugins that were missing them. 2011-02-03 12:01:26 -05:00
Scott González
29bfb86ce2 All: Define defaultElement for non-div widgets. 2011-01-23 17:55:53 -05:00
jzaefferer
6a79c70852 Spinner: Update to latest jquery-global plugin, removing the currency
workaround.
2011-01-18 12:11:26 +01:00
Scott González
6e0482a9cb Updated copyright year. 2011-01-17 09:13:18 -05:00
Scott González
1dc4d64dd4 Spinner: Moved ARIA to input and fixed tests. 2011-01-15 08:28:13 -05:00
Scott González
e0b52831fc Updated widgets to use new methods from $.Widget. 2011-01-15 06:34:07 -05:00
jzaefferer
0d0ec376e3 Spinner: Introduce page option to configure page size. Use that for timespinner demo to spin minutes on cursor up/down, hours on page up/down. 2010-12-01 23:28:05 +01:00
jzaefferer
56f842cee0 Spinner: Move aria-attributes to the focusable element of the widget 2010-11-30 13:44:52 +01:00
jzaefferer
285c991b72 Spinner: Fix crlf to lf line endings. 2010-11-30 13:43:43 +01:00
jzaefferer
9ef5cd02fa Spinner: Use inline-element for better inline-block support. Removed float:left from input to fix input focussing in IE6. 2010-11-30 13:41:54 +01:00
jzaefferer
bd3d324572 Spinner: Update license header. 2010-11-20 15:39:40 +01:00
jzaefferer
a1eb5f4592 Spinner: Make sure that options.value and input.val() are in sync 2010-10-28 17:45:34 +02:00
jzaefferer
23157be9c3 Spinner: Refactored reading htlm5 attributes option init 2010-10-28 17:32:01 +02:00
jzaefferer
78872dca42 Spinner: Improved mousewheel event handling 2010-10-27 17:45:32 +02:00
jzaefferer
d91cd61f79 Spinner: More refactorings and cleanups, and heavy improvement on the incremental-logic, including a delay of 500ms after the first increment and before continous increments 2010-10-27 16:38:00 +02:00
jzaefferer
720e9d383c Slider: Cleanup public methods 2010-10-26 12:56:40 +02:00
jzaefferer
30d431b08a Slider: Improve destroy method 2010-10-26 12:53:34 +02:00
jzaefferer
f667bb3c8d Slider: Some more refactoring and cleanup 2010-10-26 12:44:32 +02:00
jzaefferer
2df094527e Spinner: Changed default for numberformat to null. Fixed disabled option to not prevent changing value via step and page methods. OVerhauled testsuite. 2010-10-26 12:14:45 +02:00
jzaefferer
e442dd3528 Slider: Simplifying mousewheel binding, remove Opera workaround 2010-10-26 10:54:28 +02:00
jzaefferer
8da1a75177 Spiner: Tune mousewheel spinning 2010-10-26 10:36:46 +02:00
jzaefferer
0e7bef4401 Slider: Removing dir option. Implementation caused more damage then being useful - will eventually implement RTL support in all widgets. 2010-10-25 18:10:07 +02:00
jzaefferer
44ca830ee8 Slider: More codecleanup. Inlining defaults for min/max, removing page (use 10*step instead), removing mouseWheel (just use when available) 2010-10-25 18:06:26 +02:00
jzaefferer
299d5c88b8 Spinner: Fix value option initalization 2010-10-25 17:32:08 +02:00
jzaefferer
1be2a79076 Spinner: More cleanup 2010-10-24 15:57:58 +02:00
jzaefferer
02d8f914b6 Spinner: Some code and test cleanup 2010-10-24 15:52:26 +02:00
jzaefferer
eebf8c31ff Using button widget for the spinner buttons. Can still use some improvements, dropping custom theme stuff in favor of button styles. 2010-10-23 02:06:25 +02:00
jzaefferer
bc3d283d2c Replaced hexadecimal demo with decimal demo. Updated that and the currency demo (previously donation) to use globalization plugin with a select for three different cultures (probably more to come). Updated spinner widget to use Globalization when available, replacing all number formatting related options with a single numberformat option. 2010-10-23 01:51:12 +02:00
jzaefferer
f7d8a1ba57 Porting old spinner implementation to 1.8, dropping some baggage. 2010-10-22 06:16:12 +02:00