Commit Graph

2223 Commits

Author SHA1 Message Date
Jörn Zaefferer
61290de86d Spinner: Replace var that with this and _delay 2011-09-13 00:28:29 +02:00
Jörn Zaefferer
45ed8d8447 Popup: Replace var that with this and _delay 2011-09-13 00:27:54 +02:00
Jörn Zaefferer
e1ec6f8ebb Menu: Refactor to get rid of var that. Cleanup some odd formattings and unneeded temp vars 2011-09-13 00:24:43 +02:00
Jörn Zaefferer
ae0c4e44ff Merge remote branch 'kborchers/menu_autoCollapse' 2011-09-12 23:54:19 +02:00
Jörn Zaefferer
bf26bf1ac4 Menu: Get rid of var self, replacing with that or calls to _delay 2011-09-12 23:52:17 +02:00
Jörn Zaefferer
3a0340f4ee Widget: return timer value from _delay 2011-09-12 23:47:09 +02:00
Jörn Zaefferer
30482cd04b Widget: Get rid of var self 2011-09-12 23:41:01 +02:00
Jörn Zaefferer
2a6ca3fb39 Widget: Add a _delay method. Will be used in various places to replace setTimeout with custom binding (mostly getting rid of var self/that) 2011-09-12 23:37:14 +02:00
Jörn Zaefferer
609e1f87f4 Menu: Replace regular bind call with _bind 2011-09-12 23:19:19 +02:00
kborchers
94317d7aa4 Menu: Added autoCollapse as the default and added a unit test 2011-09-12 08:43:49 -05:00
Scott González
7216c08b2f Spinner: Added ability to specify custom incremental function. 2011-09-09 20:08:51 -04:00
Scott González
4387d19030 Spinner: Default min and max options to null. 2011-09-09 19:24:10 -04:00
Scott González
c1cda180a9 Tabs: Find panels using aria-controls instead of index for remove method. Fixes #7698 - Panels do not sort when a tab is sorted which can cause a mismatch error when a tab is removed. 2011-09-06 13:01:01 -04:00
Scott González
08450c3b2d Button: Fixed RTL detection to default to LTR. Fixes #7697 - Buttonset: Incorrect corners for disconnected elements. 2011-09-06 11:00:42 -04:00
Jörn Zaefferer
02c821da6e Popup: Missing semicolon. Can't use :ui-button selected if button isn't loaded. 2011-09-05 17:59:36 +02:00
Scott González
c5ba0535cf Autocomplete: Fixed setting of valueMethod for textareas. Fixes #7674 - Autocomplete doesn't work with textareas. 2011-08-30 20:45:48 -04:00
Scott González
87f78973b9 Tabs: Pass the required deep parameter to cloneNode(). Fixes completely broken tabs in Opera.
Thanks monoblaine.
2011-08-30 20:22:35 -04:00
Corey Frang
dfe75e1b55 Dialog: Update to 96e5c24 - keyup apparently doesn't work like I thought it would everywhere, switching back to keydown. 2011-08-20 18:05:39 -05:00
Corey Frang
96e5c241e1 Dialog: Tabbing out of a modal dialog was possible because keypress doesn't fire for tabs everywhere, switched to keyup. Added Unit Test - Caught by @DomenicDenicola - Fixes #3123 - Tabbing stops in modal dialog 2011-08-19 06:03:59 -05:00
Jörn Zaefferer
fb57cc8aba Tooltip: Change default to flipfit for both dimensions, now that it is available. Fixes positioning issue when tooltipped element is at the top of the screen. 2011-08-18 21:39:27 +02:00
Jörn Zaefferer
25f2113cc1 Merge remote branch 'kborchers/position_flipfit2' 2011-08-15 11:32:49 +02:00
Scott González
1aea0ff4b8 Spinner: Removed value option. Don't change empty values to zero on init. Don't enforce min/max on blur. 2011-08-13 19:05:04 -04:00
kborchers
80bbebd489 Position: Added better collision detection for flip and fit, added visual tests for each and updated the unit tests to take the changes into account. In the process, I removed the rounding that was being done to the position since older jQuery couldn't handle the fractions. There was another pull for this same issue and I have merged the unit tests from that pull into this commit. Also added flipfit! 2011-08-12 22:19:52 -05:00
Scott González
257021b1af Spinner: Fixed precision when stepping.
Thanks hughlomas
2011-08-12 23:11:35 -04:00
Scott González
6c1bf56029 Spinner: Moved all event handlers into an object. 2011-08-12 22:33:44 -04:00
Scott González
4587f2de68 Widget: Use this.widget() for event delegation. 2011-08-12 22:10:31 -04:00
Scott González
18a3b53988 Tabs: Fixed detection of local vs. remote tabs. Fixes #4941 - Mishandling of base tag. Fixes #4836 - Self refering href only partially detected. 2011-08-11 16:48:58 -04:00
Scott González
ac04462d22 Tabs: Cleanup. 2011-08-10 09:30:52 -04:00
Scott González
de7fd4c130 Spinner: Fixed integration with globalize. 2011-08-10 09:15:47 -04:00
Jörn Zaefferer
56e9cd7119 Replace $.global with Globalize, update Spinner to use it. Related demos currently broken due to previous changes. 2011-08-10 14:55:16 +02:00
Scott González
bb79b41871 Datepicker: Revert "Datepicker: Removing unnessecary typeof check. Fixed #6669 - Datepicker: _selectDate restores focus to non-object" Fixes #7623 - DatePicker reappears after selection in ie8.
This reverts commit 5f0a2f01c4.
2011-08-10 07:55:19 -04:00
Scott González
7c7d3df8e7 Spinner: Return formatted value when using value method. 2011-08-09 21:38:19 -04:00
Scott González
92766654ae Widget: Wrap the remove event trigerring in a try/catch. Fixes #7510 - jQuery.data throws a script error in certain circumstances. 2011-08-09 11:45:41 -04:00
Karl Kirch
d146297356 Datepicker: Added ability to stop datepicker from beforeShow. Fixes #7602 - Ability to stop datepicker from appearing with beforeShow event handler. 2011-08-09 09:55:50 -04:00
Scott González
7f812f8be9 Mouse: Work around a bug in IE 8 where disabled inputs don't have a nodeName. Fixes #7620 - Mouse: Error in IE 8 with disabled inputs. 2011-08-09 09:32:01 -04:00
Scott González
e827a0e280 Revert "Datepicker: Added onSelect.apply() call to _setDate method if onSelect is defined. Fixed #6264 - Datepicker: onSelect does not fire when setDate is called"
This reverts commit effdd5d19c.
2011-08-09 08:26:33 -04:00
Jörn Zaefferer
f8f38e86c4 Merge remote branch 'kou/autocomplete-destroy-search-timeout' 2011-08-09 12:09:52 +02:00
Scott González
8c5a6f7241 Spinner: Use a polynomial instead of hard-coded blocks for incremental stepping. 2011-08-07 19:21:23 -04:00
Scott González
2a8a77a9b2 Spinner: More tests. Don't trigger spin when programmatically stepping or paging. 2011-08-07 19:11:49 -04:00
Scott González
6c84531d7c Spinner: Fixed double firing of change event when setting the value option directly. 2011-08-07 12:38:01 -04:00
Scott González
6c9dac29a5 Spinner: Don't need to call _format() and _aria() in _setOptions() since it's wrapped as a modifier. 2011-08-07 12:30:33 -04:00
Scott González
dd0a436c37 Spinner: Trigger change event when the value is changed programmatically. 2011-08-07 12:27:14 -04:00
Scott González
bea9933a8b Spinner: Re-render value if numberFormat option changes. 2011-08-07 11:35:38 -04:00
Scott González
051b9e07d9 Spinner: Use _getCreateOptions() for value. 2011-08-07 08:20:14 -04:00
Kouhei Sutou
b83a2063cf Autocomplete: ensure clear searching timeout on destroy. 2011-08-07 15:50:34 +09:00
Scott González
e9cdd576f4 Merge branch 'spinner-getCreateOptions'
Conflicts:
	ui/jquery.ui.spinner.js
2011-08-06 20:08:50 -04:00
Scott González
e4898fdfc6 Spinner: Added comment with formula that approximates current incrementing logic. 2011-08-06 17:10:09 -04:00
Scott González
b10c4cdab5 Spinner: Define defaults for callbacks. 2011-08-06 17:08:50 -04:00
Scott González
2b22bbdd6a Spinner: Only trigger change when the field has blurred and the value has changed. 2011-08-06 15:32:19 -04:00
Scott González
08a7a11a1b Spinner: Don't set focus on stop, focus should already be correct. Always remove ui-state-active on blur, since we no longer blur when interacting with buttons. 2011-08-06 15:26:12 -04:00