jzaefferer
0bbbe5f5b1
Autocomplete: Updated escapeRegex utility based on http://xregexp.com/xregexp.js
2010-07-05 10:06:16 +02:00
eXtreme
7d24c1a57f
Resizable: Adding missing variable initialization. Fixes #5694 - Invalid reference in UI Resizable hack for Opera.
2010-06-28 10:35:58 +08:00
Alberto Fernández Capel
eb13c01722
Changed comparison to highlight selected date, fixes #5676 (DatePicker Dialog defaultDate incorrect behaviour)
2010-06-14 16:46:04 +08:00
Kevin Dalman
aa416fcfd9
Resizable: Add missing var declaration to new _reset function/subroutine.
2010-06-10 09:33:01 +08:00
ALLPRO
a78d5ee4c8
Resizable: Patched the alsoResize plugin to fix 2 critical bugs. Fixes #5694 - Invalid reference in UI Resizable hack for Opera. Fixes #5662/5695/3842 - When resizing from top or left edge, Dialog adds top/left CSS values to content element. Enhances Dialog - Allows dialog-content to have position:relative to 'contain' floated and positioned elements. Bug Demo for #5662 - http://layout.jquery-dev.net/samples/ui_dialog_bug.html
2010-06-10 09:33:00 +08:00
Richard D. Worth
a90e195489
Selectable: moved position absolute and z-index to css. Fixed #4475 - Selectable helper has z-index hard coded
2010-05-26 18:42:24 -04:00
Richard D. Worth
202ddd0c58
Button: Removed ui-button-text-icon class. Added ui-button-text-icon-primary and ui-button-text-icon-secondary classes. Fixed #5382 - Button: specifying only a secondary icon for the button widget locates the icon on the left
2010-05-26 15:08:37 -04:00
Scott González
afaa03575f
Core: Better detection of when core is loaded twice. Fixes #5636 - Load ui.position before ui.core couse ui.core not execute.
2010-05-19 20:33:23 -04:00
jzaefferer
fc093e9feb
Prevent autocomplete-menu from closing when clicking 'slowly', eg. a long mousedown. Fix for #5405 - Autocomplete: select event not triggered when mousedown duration > blur timeout
2010-05-18 14:57:02 +02:00
Scott González
fcbf4c0872
Tabs: Removed instances of " .. + (++ .." to avoid a minification bug in closure compiler. Fixes #5576 - invalid increment operand.
2010-05-17 20:48:07 -04:00
adam j. sontag
0460b46c1c
Selectable: Creation of helper must conform with style guide.
2010-05-13 22:51:28 +08:00
adam j. sontag
05725e25ae
Selectable: Add default CSS for ui-selectable-helper to CSS framework to allow user override. Fixes #5607 - Selectable has helper css hardcoded in JS
2010-05-13 22:35:40 +08:00
Paul Irish
dc646c01fe
Datepicker: cleaning up the datepicker open transition. fixed #5609 - Datepicker: change default opening animation to fadeIn
2010-05-13 01:18:55 +08:00
Jack Hsu
e780583694
Selectable: modified _mouseStart function to unselect event.target if the
...
Ctrl/Cmd key is pressed, and target is selected. Fixed #4293 - Ctrl + Click on
selected list item does not deselect
2010-05-12 23:49:25 +08:00
Jack Hsu
5b4c04acb5
Selectable: modified _mouseStart function to unselect event.target if the Ctrl/Cmd key is pressed, and target is selected. Fixed #4293 - Ctrl + Click on selected list item does not deselect
2010-05-12 23:49:15 +08:00
Richard D. Worth
114c001aba
Slider: trim to max and min on UP DOWN LEFT RIGHT. Fixed #5591 - Slider: can go outside min and max with keyboard
2010-05-11 08:36:56 -04:00
Richard D. Worth
5fd158053f
Datepicker: i18n Polish changed yy-mm-dd to dd.mm.yy. Fixed #5522 - Wrong date format for polish regional
2010-05-11 08:30:22 -04:00
Richard D. Worth
34912bc933
Slider: fixed step alignment to handle negative fractional values. Fixed #5583 - Slider displays negative fractional values incorrectly. Thanks for the patch watanabe.
2010-05-11 08:17:18 -04:00
Richard D. Worth
b7c0823da6
Slider: trim value to min and max when page_up or page_down is pressed. Fixed #5591 - Slider: can go below its defined minimum with PageDown
2010-05-11 07:31:48 -04:00
Richard D. Worth
b53b48b618
Datepicker: i18n SK changed firstDay to 1 instead of 0. Fixed #5600 - Datepicker localization SK. Thanks borsuk
2010-05-11 05:23:38 -04:00
ornicar
a4488aff7c
Fix 'this.options is undefined' in sortable by using this instead of self
2010-05-05 19:14:55 +08:00
Richard D. Worth
0ad5ac7382
Datepicker: avoid ambiguous + ++ in min file. Partial fix for #5576 - invalid increment operand
2010-05-04 23:11:06 -04:00
Scott González
01ad6ce83e
Remove previous text/icon classes when updating buttons.
...
Fixes #5567 - button text, hide then show again.
2010-04-29 21:38:23 -04:00
Scott González
0aa4c7f9b6
Removed case-sensitive .nodeName check.
...
Fixes #5557 - Comparing element.nodeName directly against upper case tag names can cause problems.
2010-04-27 19:41:10 -07:00
Richard D. Worth
670ab819a9
Revert "Draggable: Don't use computed style for top and left of position:relative elements. Fixes #5537 - Draggable: position relative draggable jumps on first drag in Opera"
...
This reverts commit dc94bbf536
.
2010-04-23 16:13:06 -04:00
Scott González
cb7eb69973
Autocomplete: Ignore command (left and right/menu/windows), insert, caps lock, home, end keys.
...
Fixes #5415 - Catch all common keys while typing a word.
2010-04-23 13:00:54 -04:00
Scott González
3570c1f768
Core: Added COMMAND/COMMAND_LEFT/WINDOWS, COMMAND_RIGHT/MENU key codes.
...
Fixes #5542 - Add keyCodes for command buttons.
2010-04-23 12:56:52 -04:00
Scott González
02c32959d9
Button: Added missing semicolon.
...
Fixes #5536 - Mission semicolon on line 5368.
2010-04-23 12:08:55 -04:00
Richard D. Worth
dc94bbf536
Draggable: Don't use computed style for top and left of position:relative elements. Fixes #5537 - Draggable: position relative draggable jumps on first drag in Opera
2010-04-22 09:56:35 -04:00
Richard D. Worth
6e77ee19bc
Fixed #5532 - Datepicker i18n: Encoding error in Swiss-French (fr-CH) file
2010-04-21 05:00:33 -04:00
jzaefferer
dbc9addfae
Autocomplete: Refactored code for array filtering into $.ui.autocomplete.filter, used by remote-with-cache and modified multiple-demo (now with local data); added multiple-remote to also show multiple with remote data
2010-04-16 11:05:35 +02:00
Richard D. Worth
3291d3951a
sortable: don't call the base widget _setOption for disabled to avoid the ui-state-disabled class being added. Fixes #5501 - sortable: disabled should not have the ui-state-disabled class
2010-04-09 14:43:44 -04:00
jzaefferer
c01b3baef9
Autocomplete: Track input changes and fire change-event on blur, along with selected item, if available. Fix for #5490
2010-04-08 12:05:52 +02:00
Jörn Zaefferer
5ade79a380
Fixed spelling of Poniedziałek - Fix for #5487 - Datepicker localization: Spelling of dayname wrong
2010-04-06 06:49:53 -07:00
jzaefferer
cae15a4d37
Accordion: Fixed case for tabIndex (was tabindex), fixes failing destroy-test in IE6
2010-04-03 17:14:01 +02:00
Richard D. Worth
87ba795467
slider: jslint cleanup (thanks for the start zhaoz) and style changes to meet http://docs.jquery.com/JQuery_Core_Style_Guidelines
2010-04-02 23:16:46 -04:00
Richard D. Worth
d38e20a0d3
ui core: enableSelection, disableSelection: Removed selectstart event filters from enableDisable and disableSelection as these are general utility convenience methods intended to prevent native browser text selection not jQuery UI Selectable selection. Fixes #5477 - core: enableSelection and disableSelection should only prevent native browser text selection
2010-04-02 17:09:37 -04:00
Richard D. Worth
51b72a502f
slider: corrected a regression introduced by commit 5ffd3ab
2010-04-02 10:32:33 -04:00
Richard D. Worth
354682e3eb
Slider: added support for canceling start event. Fixes #5472 - slider: event start not cancelable
2010-04-01 15:08:20 -04:00
Richard D. Worth
5ffd3ab36a
Align slider value to step. Fixes #5471 - value not aligned to step when set programatically
2010-04-01 15:00:45 -04:00
jzaefferer
00fdd8bcd9
Revert accidental "Merge branch 'tooltip' of github.com:jquery/jquery-ui"
...
This reverts commit df31e22b95
, reversing
changes made to ab8d155217
.
Need to revert this revert later on when actually merging the tooltip branch into master.
2010-04-01 09:33:25 +02:00
jzaefferer
df31e22b95
Merge branch 'tooltip' of github.com:jquery/jquery-ui
2010-04-01 09:25:21 +02:00
unknown
ebac9717fd
Tooltip: Renamed show to open and open to _show (based on spec), changed trigger(show) to trigger(open) and added trigger(close); always use element as target, enabling programmatic opening and closing
2010-03-31 20:17:45 +02:00
Richard D. Worth
4657bd85bc
Changed widget factory to keep generic css framework class -state-disabled in ui namespace instead of custom widget namespace. Fixes #5443 - $.Widget uses [namespace]-state-disabled, must be ui-state-disabled to be useful
2010-03-29 10:00:26 -04:00
jzaefferer
a009595bd3
Merge branch 'master' into tooltip
2010-03-27 11:06:31 +01:00
jzaefferer
c49be0be1a
Merge branch 'master' of github.com:jquery/jquery-ui
2010-03-27 10:57:33 +01:00
jzaefferer
551fa98ae4
Accordion: Moving IE layout fix (via zoom: 1) from js to css - fixes the destroy-method test in IEs (zoom style wasn't cleaned up on destroy) and should perform slightly faster, too
2010-03-27 08:03:48 +01:00
jzaefferer
49411982c2
Slider: Refactoring _trimValue method to use more sane programming logic
2010-03-27 01:52:44 +01:00
jzaefferer
b96ff11e3b
Slider: Refactoring _valueMin and _valueMax methods, removing useless temporary variables
2010-03-27 01:49:56 +01:00
jzaefferer
3922996231
Slider: Inlining _step method, was used only once
2010-03-27 01:47:42 +01:00
Scott González
9541bd0bf2
Position: Use parseInt() to prevent fractional pixel values.
...
Fixes #5280 - ui.position generates different position in static context.
2010-03-26 19:53:43 -04:00
jzaefferer
f1933142e4
Merge branch 'master' into tooltip
2010-03-26 12:45:32 -04:00
jzaefferer
6d9caf1e23
Autocomplete: Only remove classes actually added by the widget, ui-widget etc. aren't added, so don't remove them
2010-03-26 12:42:03 -04:00
jzaefferer
40e3637117
Added $.ui.keyCode.ALT to complete list of metakeys, used in autocomplete
2010-03-26 12:40:46 -04:00
Scott González
b297b3fa6a
Fixed size calculations for dialogs.
...
Fixes #5392 - Dialog explicit height doesn't match given value from set option.
2010-03-25 21:58:08 -04:00
jzaefferer
a3286b12be
Tooltip: Added comment about asny response handling
2010-03-25 15:28:34 -04:00
jzaefferer
3bd4de2a87
Tooltip: Add role='application' to body when there is no role attribute; required for screenreaders to interpret aria attributes correctly
2010-03-25 15:23:02 -04:00
jzaefferer
32e9d58963
Tooltip: Fix positioning
2010-03-25 15:22:19 -04:00
jzaefferer
e285e43d2b
Tooltip: Replacing mouseover/out with mouseenter/leave, dropping (for now) support for event delegation
2010-03-25 14:46:42 -04:00
Scott González
f2873b6ebf
Menu: Ignore clicks that don't occur on the anchor tag within a valid menu item.
...
Fixes #5376 - Menu plugin fires select when border is clicked.
2010-03-24 07:15:30 -07:00
Scott González
596d1ef581
Dialog: Use .height(0) instead of .hide(0) when determining the size of the non-content area of a dialog.
...
Partial fix for #5392 - Dialog explicit height doesn't match given value from set option.
2010-03-22 07:53:34 -04:00
jzaefferer
7dbf7ecfc1
Copying files from old Googlecode dev branch for tooltip
2010-03-21 22:28:32 +01:00
Scott González
1ddd4f5d3f
Menu: pass the original event to the select callback.
...
Fixes #5343 - Add option to allow form submission when option is chosen.
2010-03-20 16:17:56 -04:00
Scott González
c61bd8ec67
Menu: Don't trigger select if a click occurs outside of a menu item.
...
Fixes #5376 - Menu plugin fires select when border is clicked.
2010-03-20 15:09:46 -04:00
Scott González
e70743cdcb
Autocomplete: Don't trigger a search when the left or right arrow keys are used.
...
Fixes #5289 - Autocomplete: ignore cursor left/right.
2010-03-20 14:58:38 -04:00
Scott González
22ba931c39
Menu: skip over elements that aren't menu items.
...
Fixes #5188 - Refactor menu rendering for more customizing.
2010-03-20 14:37:25 -04:00
Jörn Zaefferer
65d8fa2b0c
autocomplete: pass through mouse and key events to menu methods in order to differentiate between key and mouse events in autocomplete
2010-03-20 14:57:06 +00:00
Richard Worth
796177c610
eol-style and mime-type
2010-03-17 23:50:13 +00:00
Richard Worth
f2438fe7eb
fixed #5368 - Autocomplete: aria role for menu should be listbox instead of menu
2010-03-17 23:22:02 +00:00
Richard Worth
0604e11052
Slider: fixed change event to be triggered by keyup and value and values option setters. Fixes #5367 - slider change event not triggered by keypress
2010-03-17 17:39:29 +00:00
Richard Worth
92fe5e9225
Fixed #5362 - Buttonset class should be ui-buttonset because buttonset is one word
2010-03-17 13:16:40 +00:00
Richard Worth
2a8271c701
Button: Added refresh method to buttonset, futher fixes #5278 - ui.buttons doesn't visually reset on form "reset" event or input "change" event
2010-03-17 13:07:46 +00:00
Richard Worth
124f84635f
Buttonset - remove corner classes from button widgets instead of button elements on destroy. Fixes #5361 - buttonset method destroy doesn't remove corner classes from label elements
2010-03-17 13:03:23 +00:00
Richard Worth
08a750a58f
button: whitespace and quotes. See http://docs.jquery.com/JQuery_Core_Style_Guidelines
2010-03-17 12:56:15 +00:00
Richard Worth
a202248780
Remove ui-helper-hidden-accessible from correct element. See r3880 and r3892
2010-03-17 12:49:27 +00:00
Scott González
e02b6a58d6
Button: spacing.
2010-03-16 04:07:23 +00:00
Scott González
3c31d720ce
Sortable: Fixed a bug with over/out events and connected draggables.
...
Fixes #5346 - over and out events not triggered when draggable connected with single (non-nested) sortable.
2010-03-16 01:15:57 +00:00
Scott González
03adce34dd
Menu: Don't pass empty values to ._trigger().
2010-03-16 00:26:06 +00:00
Richard Worth
d2272f86bc
Autocomplete: fixed #5349 - Autocomplete: mouseover of menu item causes data loss
2010-03-15 21:24:42 +00:00
Richard Worth
2be46581da
Autocomplete: fixed #5349 - Autocomplete: mouseover of menu item causes data loss
2010-03-15 21:11:21 +00:00
Richard Worth
e6c30b0d97
Autocomplete: Fixed #5348 - Autocomplete: menu item should not remain selected when mouse off menu
2010-03-15 20:57:02 +00:00
Richard Worth
9aa56386a3
Autocomplete: fixed #5347 - Autocomplete: each successive item hover makes item above shrink a bit in IE
2010-03-15 20:40:20 +00:00
Richard Worth
1489d7380d
Button: fixed #5324 - button disabled state doesn't get refreshed when disabled set on original element
2010-03-15 14:13:17 +00:00
Richard Worth
e3096c7abb
Button: remove disabled attribute from original element when option set to false
2010-03-15 14:07:00 +00:00
Richard Worth
a842215fdb
button: fixed #5328 - button disabled only visually when disabled option set, still functional
2010-03-15 14:00:53 +00:00
Scott González
385269e3ea
Button: Don't react to keydown when disabled.
...
Partial fix for #5328 - button disabled only visually when disabled option set, still functional.
2010-03-14 17:53:18 +00:00
Richard Worth
aa6fb14854
Dialog: quiet JSLint
2010-03-12 01:10:57 +00:00
Richard Worth
8360141375
Position: quiet JSLint
2010-03-11 22:16:00 +00:00
Richard Worth
a48466b194
Autocomplete: quiet jslint
2010-03-11 22:06:29 +00:00
Richard Worth
ddd1026d20
Button: quiet jslint
2010-03-11 21:17:28 +00:00
Richard Worth
7898303437
dialog: corrected typo in ui.position property for drag events. Updated unit tests tracking fix of #5291
2010-03-11 20:48:21 +00:00
Scott González
89f10420cf
Button: No need to check the button type before removing the hidden class.
2010-03-11 20:21:38 +00:00
Scott González
057e156e62
Button: Conform to coding standards.
2010-03-11 20:10:43 +00:00
Richard Worth
e0faff7e11
reverted r3888 un-fixing #5322 for now as trunk is in release candidate state - only criticals and blockers should be fixed until 1.8 is final
2010-03-11 16:57:10 +00:00
Paul Bakaus
1a487a18b7
sortable: fixed #5322 (helper position weird when axis was used, fixes sortable tabs demo)
2010-03-11 16:35:20 +00:00
Richard Worth
7799b4ecf9
Fixed #5278 - ui.buttons doesn't visually reset on form "reset" event or input "change" event
2010-03-11 06:31:16 +00:00
Scott González
c2ed8ffc07
Autocomplete: Resize menu on every suggestion.
2010-03-11 04:37:21 +00:00
Scott González
fe6bef16e4
Button: Support elements that are disconnected from the DOM.
...
Fixes #5246 - _determineButtonType does not work if a label for checkbox/radiobutton is not yet attached to the document.
2010-03-11 03:50:20 +00:00
Scott González
5f213572d6
Autocomplete: Append menu to body and reset z-index on every suggestion.
...
Fixes #5271 .
2010-03-11 03:28:00 +00:00
Richard Worth
8cd7129f0c
button: remove ui-helper-hidden-accessible instead of .show() on destroy. Fixes #5261 - button change events don't fire in IE 7/8
2010-03-11 02:13:28 +00:00