Scott González
939448c756
Set svn:eol-style to native for new plugins.
2008-09-19 18:00:57 +00:00
Eduardo Lundgren
66a947c0e7
Progressbar .text() added, improvements
2008-09-19 17:21:45 +00:00
Eduardo Lundgren
eb689bb86c
Sortables - Avoid inline script execution on every sort
2008-09-19 15:38:50 +00:00
Eduardo Lundgren
5bdcacd1f6
Fixed #3454 - Sortable .createHelper() bug
2008-09-19 15:20:34 +00:00
Scott González
7c2e7965e9
Reverted r695.
2008-09-19 14:20:14 +00:00
Eduardo Lundgren
8d04c3594c
Remove Trailing Spaces
2008-09-19 14:08:41 +00:00
Paul Bakaus
faec9388e2
slider: use preventDefault on click event on handle instead of returning false (see #3228 )
2008-09-19 09:19:10 +00:00
Paul Bakaus
f9a77723b6
resizable: aspect ratio was switched (width/height ratio was height/width ratio), fixes #3450
2008-09-19 09:13:38 +00:00
Scott González
90d7b7f708
Dialog: Fixed #3087 : Added beforeclose callback for dialogs (can prevent closing the dialog by returning false).
2008-09-19 02:07:54 +00:00
Paul Bakaus
7651fb4158
accordion: trigger changestart event when the animation starts (implements 2932)
2008-09-18 10:39:34 +00:00
Paul Bakaus
51e0cdf88d
accordion: removed deprecated method fn.activate for 1.6
2008-09-18 10:00:28 +00:00
Paul Bakaus
b73f093894
core: enableSelection/disableSelection now return the chain (implements #3174 )
2008-09-18 09:54:04 +00:00
Paul Bakaus
9c0942d14f
droppable: $.ui.ddmanager.drop now returns false in case of non-drop, or the actual droppable (instead of true) in the case of a drop.
...
draggable: implemented patch that allows revert to be a callback, receives one argument which is the droppable (implements #3175 )
2008-09-18 09:51:50 +00:00
Paul Bakaus
c40491f187
dragging handle won't fire onunload event anymore ( fixes #3228 )
2008-09-18 09:30:14 +00:00
Paul Bakaus
73d70bcb67
sortable: default value for forcePlaceholderSize
2008-09-16 13:38:42 +00:00
Paul Bakaus
dd8c1188e9
sortable: Refactored a bunch of stuff, moved over some fixes from draggable
2008-09-16 13:19:30 +00:00
Paul Bakaus
9d8e83845c
draggable, resizable, sortable: proper usage of _mouseCapture, fixes interaction issues when many plugins are used on the same element ( Fixes #3164 )
2008-09-16 13:02:21 +00:00
Paul Bakaus
cef66ee99f
sortable: Fixed the floating functional demo, implemented forcePlaceholderSize
2008-09-16 12:40:48 +00:00
Paul Bakaus
fd40ff0fe0
draggable: destroy method now properly removes the class ui-draggable (Fixes 3424)
2008-09-16 10:39:54 +00:00
Paul Bakaus
b08ae847bf
core: hasScroll now checks for overflow hidden, since then the users wants scroll to be hidden
...
draggable: containment respects overflow hidden (fixes #3328 )
2008-09-16 10:38:12 +00:00
Paul Bakaus
fe73615204
datepicker: fixed jslint warnings, fixed invalid increment operand ( Fixes #3434 )
2008-09-16 10:32:08 +00:00
Paul Bakaus
dc31bc2f3e
use $.isFunction instead of checking the constructor
2008-09-16 09:03:28 +00:00
Paul Bakaus
aed298125d
Setting data.accept now works fine ( Fixes #3386 )
2008-09-15 20:57:41 +00:00
Paul Bakaus
7ba2beb903
- kickass draggable refactoring - fixes many bugs, many edge case issues
...
- added many new tests to draggable, especially related to scrolling and helper clone
2008-09-15 20:26:42 +00:00
Scott González
ee30dbbd21
Dialog: Reordered functions.
2008-09-14 14:49:28 +00:00
Scott González
608cab6e3b
Dialog: Fixed #3389 : Non-draggable dialogs shouldn't instantiate draggables.
2008-09-14 14:48:16 +00:00
Scott González
8bd855a162
Dialog: Fixed #3220 : Non-resizable dialogs shouldn't instantiate resizables.
2008-09-14 14:47:06 +00:00
Scott González
7e9dcd21de
Dialog: Partial fix for #3327 : When opening a dialog, give focus to the first tabbable element inside the dialog.
2008-09-11 23:22:25 +00:00
David Bolter
bb84cbf7fd
Fixes #3342 , prevents bubbling (and default key behaviour) for slider based key events.
2008-09-11 15:18:33 +00:00
Klaus Hartl
32f4412c2b
UI Tabs: fixed cookie name generation which wasn't based on DOM element any longer after change in this.element, update cookie after init/add/destroy ( fixes #3015 )
2008-09-09 09:28:03 +00:00
Ca-Phun Ung
accc76bc64
Spinner: added an init callback which exposes the addItem method for dynamic population of spinner via an external objects.
2008-09-09 08:23:29 +00:00
Scott González
f500db5d75
Widget factory: Prevent calling non-existent methods.
2008-09-07 20:50:45 +00:00
Keith Wood
41811fb8c3
Fixed 3183 onSelect and onClose have inconsistent signatures
2008-09-07 08:38:09 +00:00
Keith Wood
0db0ffe580
Fixed 3267 Alternate field not updated when using "setDate"
2008-09-07 07:55:02 +00:00
Scott González
eedbd524e2
Dialog: Fixed #3123 : Prevent tabbing out of modal dialogs.
2008-09-06 16:50:05 +00:00
Scott González
0b771b43c6
Core: Improved :tabbable selector
...
- check tabindex >= 0 instead of != -1
- check anchor tags for href
- check for hidden input types
- check styles (display and visibility; self and ancestors)
Added tests for :tabbable selector
2008-09-06 03:44:32 +00:00
Scott González
54eccb6b04
Core: Added :tabbable selector to find elements that participate in the tabbing order.
2008-09-05 03:48:47 +00:00
Scott González
d5bea560de
Core: Converted :data selector to a function.
2008-09-05 02:47:18 +00:00
Richard Worth
f6008ca694
Fixed #3284 - Put version numbers inside of individual files.
2008-09-04 22:03:30 +00:00
Jörn Zaefferer
dc92efc6e8
draggable: removing logging
2008-09-03 14:30:40 +00:00
Jörn Zaefferer
6174fef86f
draggable: sortable.refreshItems got renamed to _refreshItems
2008-09-03 14:27:51 +00:00
Scott González
d6a247afff
Dialog: Fixed #3259 : Remove title attribute from dialog elements on init.
2008-09-03 01:49:26 +00:00
Scott González
ccdb99e313
Widget factory: Fixed #3275 : Prevent multiple instantiations of the same plugin on a single element.
2008-09-02 23:34:42 +00:00
Paul Bakaus
b95772ef09
sortable: fixed toArray method
2008-09-02 14:30:11 +00:00
Paul Bakaus
ef599c7225
draggable: wrong class when trying to remove iframeFix divs ( fixes #3161 )
2008-09-01 14:49:28 +00:00
Ca-Phun Ung
9248368f20
Spinner: For DOM based spinners, the height is now calculated based on number of children.
2008-08-30 20:01:23 +00:00
Ca-Phun Ung
66d90af241
spinner: changed data list to support any DOM container not just <ul>
2008-08-30 19:15:08 +00:00
Scott González
7c33681e52
Core: Fixed #3257 : Added option method to widget factory.
2008-08-27 02:44:12 +00:00
Scott González
b5b364ebc2
Dialog: Fixed #3253 : Don't allow closing modal dialogs on escape if closeOnEscape is set to false.
2008-08-27 00:25:32 +00:00
Chi Cheng
fa14a0a83c
Sortable: fix wrong patameter in toArray
2008-08-26 12:29:55 +00:00
Ca-Phun Ung
ea0ce45c97
spinner: Included support for generic objects - currently only supports <ul>. See visual test (#s4) for example usage. Needs more work...
2008-08-26 07:28:14 +00:00
Chi Cheng
ee4334ab22
Accordion: XHTML
2008-08-25 15:58:51 +00:00
Chi Cheng
75bfb681b9
Progressbar: hidden instance in ui(), options._interval->this._interval
...
Update spinner/progressbar demos
2008-08-25 05:47:48 +00:00
Eduardo Lundgren
339bfaf1b2
Remove label texts, using the background labels
2008-08-24 23:35:26 +00:00
Eduardo Lundgren
9c53dbaf88
Use type button to avoid undesired submits
2008-08-24 23:34:03 +00:00
Eduardo Lundgren
d8dc2ded59
Use type button to avoid undesired submits
2008-08-24 23:33:16 +00:00
Scott González
49691da7ad
Spinner: Fixed key code constants.
2008-08-24 19:13:16 +00:00
Chi Cheng
54dc4e2cd4
dialog: $.keyCode
2008-08-24 15:42:03 +00:00
Chi Cheng
293d6bc595
Spinner: use keyCode from ui.core.js
2008-08-24 15:32:22 +00:00
Chi Cheng
ad3fd31b44
JSLint check
2008-08-23 02:38:28 +00:00
Scott González
61300fe053
Core: Fixed reference to jQuery.
2008-08-23 00:25:22 +00:00
Scott González
e0e41d7a5b
Core: Fixed #3233 : Added constants for key codes.
2008-08-23 00:23:54 +00:00
Ca-Phun Ung
57ed1acc45
spinner: added support for numeric keypad
2008-08-21 15:31:11 +00:00
Keith Wood
c5635d6350
Fixed 3191 NaN causes breakage for relative dates
2008-08-21 09:25:20 +00:00
Keith Wood
426c5e1fc7
Fixed 3238 getDate causes error if datepicker does not exist
2008-08-21 09:23:17 +00:00
Keith Wood
2fd7f5f035
Fixed 3180 Datepicker automatic ID assignment
2008-08-21 09:16:35 +00:00
Keith Wood
5a0431afbc
Fixed 3224 Croatian localisation
2008-08-21 09:13:45 +00:00
Keith Wood
187c97bef0
Fixed 3159 Datepicker function to do refresh/redraw
...
Simplified iso8601Week function
2008-08-21 09:04:44 +00:00
Ca-Phun Ung
68f18e1c2d
spinner: fixed rounding error when stepping=0.3
2008-08-19 17:03:59 +00:00
Chi Cheng
c0147da718
Spinner: ui() doesn't return instance
2008-08-19 16:31:42 +00:00
Chi Cheng
bf1d243ce7
Spinner: this.options._decimals -> this._decimals
...
decimal test
2008-08-19 15:52:35 +00:00
Paul Bakaus
fd1f2e08ed
sortable: moved serialize brackets after every key to default value, so configuring it as well using the key option is possible
2008-08-19 09:04:07 +00:00
Ca-Phun Ung
198d809f9b
Added enhancements to ui.spinner as seen at http://yelotofu.com/labs/jquery/UI/spinner/spinner.html
...
Enhancements include:
- removal of all hardcoded styling for better theming capability
- visual test page made more appealing supporting browser zooming
- added utility functions to disable, enable and destroy ui.spinner
- up/down buttons listens to more mouse and keyboard events
- support for decimal and currency format
- ui.spinner now restricts input on keydown
- cleanup occurs when the input textbox loses focus. this seems to be a better approach for future scalability
2008-08-19 07:18:04 +00:00
Chi Cheng
41245e6a7d
Spinner:
...
- handle quick click on div (shortor than 100ms)
- handle dblclick
2008-08-18 11:37:19 +00:00
Chi Cheng
ba5799b68b
Slider: internal methods
2008-08-18 02:05:29 +00:00
Chi Cheng
4d2fb82960
slider:internal methods, fixes #3188
2008-08-18 00:07:09 +00:00
Chi Cheng
d5bbbd2a07
internal methods: mouse*
2008-08-17 08:15:49 +00:00
Chi Cheng
6e8832d440
Sortable: prevent exposure of internal methods, fixes #3209
2008-08-17 02:19:14 +00:00
Chi Cheng
dd6a17b434
Internal methods: fixes #3195 , #3196 , #3200 , #3201 , #3209
2008-08-17 02:15:55 +00:00
Chi Cheng
8c3be4fdcb
resizable: internal methods
2008-08-16 15:37:17 +00:00
Chi Cheng
9e51a72780
Slider: internal methods , fixes #3206
2008-08-16 15:19:01 +00:00
Chi Cheng
20ef7747b1
selectable: internal methods ,fixes #3205
2008-08-16 14:59:20 +00:00
Chi Cheng
d5aa6e4677
tabs:trigger -> _trigger
2008-08-16 14:51:12 +00:00
Chi Cheng
69bbd38444
init -> _init
2008-08-16 14:45:28 +00:00
Scott González
dab4c2b564
Accordion: Fixed #3194 : Prevent exposure of internal methods.
2008-08-16 14:19:52 +00:00
Scott González
cdd179d26d
Dialog: Fixed #3198 : Prevent exposure of internal methods.
2008-08-16 14:13:55 +00:00
Scott González
ac40bf6e3f
Core: Updated widget factory to use proper names for internal methods. Part of #3188 .
2008-08-16 13:59:31 +00:00
Chi Cheng
91c492a49c
tabs: internal methods, fixs #3208
2008-08-16 07:34:55 +00:00
Chi Cheng
c5608784db
magnifier: internal methods, fixs #3202
2008-08-16 06:04:59 +00:00
Chi Cheng
d7ca21dbfd
progressbar: internal methods, fix #3203
2008-08-16 06:00:46 +00:00
Chi Cheng
d31077469f
Spinner: make internal methods internal, fixs #3207
...
functional demo fix(not associate with internal change)
2008-08-16 05:55:17 +00:00
Scott González
44140343f4
Core: Modified widget factory to prevent access to internal methods through the API (internal methods are any methods preceded by an underscore). Provides framework for #3188 .
2008-08-16 00:25:09 +00:00
Klaus Hartl
2675acc088
UI Tabs: update selected property after add/remove, fixes #3065
2008-08-15 14:43:44 +00:00
Paul Bakaus
23167f8a38
sortable: beforeStop should work properly in all cases now
2008-08-15 09:11:21 +00:00
Scott González
d9bb9eb1df
Added a namespace to the selectstart event handler in $.ui.disableSelection() so we don't remove other event handlers in $.ui.disableSelection().
2008-08-15 01:32:57 +00:00
Scott González
4055921531
Core: Moved UI core code below jQuery modification code.
2008-08-15 00:34:18 +00:00
Scott González
900d9119de
Core: Shortened data selector implementation and moved down to other core modifications.
2008-08-15 00:31:50 +00:00
Scott González
7f2b0b0db1
Implemented #3187 : Added metadata support to the widget factory.
2008-08-15 00:25:50 +00:00
Scott González
b89bb4b160
Dialog: Added isOpen method.
2008-08-12 17:06:25 +00:00
Scott González
8e2a8e7d85
Dialog: Removed fakeEvent method (no longer needed with the trigger method).
2008-08-11 14:27:08 +00:00
Paul Bakaus
3c6607b6b8
-added changes proposed by Filament group to colorpicker
2008-08-11 09:27:27 +00:00
Paul Bakaus
736a4f6074
-removed unneeded comment block in sortables
...
-added changes proposed by Filament group to colorpicker
2008-08-11 08:56:23 +00:00
Chi Cheng
eec36c91aa
draggable: fix snapTolerance option instead of default
2008-08-10 07:58:50 +00:00
Keith Wood
c400d7d68d
Add support for mousewheel
2008-08-10 07:28:44 +00:00
Eduardo Lundgren
a3977524f3
Progressbar updates
2008-08-09 23:51:46 +00:00
Eduardo Lundgren
c654cd6ac5
Progressbar updates - using .animate()
2008-08-09 23:06:18 +00:00
Keith Wood
549fcf74ce
Fixed 3170 Esperanto localisation
2008-08-08 11:08:13 +00:00
Keith Wood
23d3469355
Fixed 3165 Invalid comparison in _changeDatepicker
2008-08-08 10:38:35 +00:00
Eduardo Lundgren
c0f55a95ac
Source formatting
2008-08-08 05:56:57 +00:00
Eduardo Lundgren
b89a0ec293
enableSelection/disableSelection fixed for ie
2008-08-08 05:53:27 +00:00
Marc Grabanski
90c887adca
Added slovenian i18n
2008-08-08 02:21:27 +00:00
Chi Cheng
04e8503ff0
Progressbar: XHTML code/reorder defaults
2008-08-07 20:17:02 +00:00
Chi Cheng
69c006c07f
Datepicker:The updated and complete version of Datepicker Italian localization.( fixes #3167 )
2008-08-07 16:51:43 +00:00
Richard Worth
1fa98fa332
Fixed #3169 - Ctrl-Select should use Cmd key on Mac
2008-08-06 01:47:47 +00:00
Keith Wood
b96618367e
Fixed 3146 Inconsistent year/month change notify
2008-08-02 04:05:41 +00:00
Keith Wood
d3b3c59616
Fixed 3116 Incorrect handling of change of range select
2008-08-02 04:02:37 +00:00
Keith Wood
869b6f03b0
Corrected keystrokes for big previous/next
...
Moved global stayOpen into instances
Use parseInt to convert to numeric
2008-08-02 04:00:32 +00:00
Keith Wood
9c72777a43
Fixed 3137 Translations for new text
2008-08-02 03:52:31 +00:00
Keith Wood
9b8fccfa4a
Rename monthAfterYear setting to showMonthAfterYear
2008-07-30 12:22:15 +00:00
Paul Bakaus
b65b5d0873
draggable: fixed regression with convertPositionTo method and scroll offsets
2008-07-30 01:42:42 +00:00
Paul Bakaus
2cd638e4a3
draggable: fixed ugly regression when no overflowed container existed
2008-07-29 02:13:02 +00:00
Paul Bakaus
357a3c38b9
sortable: the outer container is not set to relative anymore, preventing some weird IE bugs
2008-07-29 01:58:21 +00:00
Paul Bakaus
36d96a9e82
draggable: fixed IE scrolling but with overflowing containers and appendTo being used
2008-07-29 01:32:46 +00:00
Paul Bakaus
1bf23b38fd
draggable: fixed issue when scroll was set to true, and therefore droppables inside changed their position as well
2008-07-29 00:54:29 +00:00
Paul Bakaus
67b53a582e
draggable: fixed overflow calculation in the positioning methods
2008-07-29 00:10:51 +00:00
Paul Bakaus
5bb45e13c6
moved history plugin to 1.7
2008-07-28 21:11:48 +00:00
Paul Bakaus
f2265bf9e6
draggable,droppable: implemented cssNamespace option, if set to false/null, it won't add a class to the element
2008-07-28 21:06:04 +00:00
Paul Bakaus
c2ef2553bc
sortable: small fix that causes the scope default not to work correctly
2008-07-28 18:53:29 +00:00
Paul Bakaus
841751a0d5
1.8: initial version of tree component, dependant upon sortables and droppables
...
1.6: droppables can now operate in a seperate scope, droppables and sortables in the current dragged item are filtered out at start, preventing node hierarchy issues
2008-07-28 18:34:01 +00:00
Keith Wood
609699d9e9
Fixed 2818 Display simultaneously past and current month in datepicker
2008-07-25 10:02:06 +00:00
Keith Wood
7592610d87
Fixed 3111 Localisations for big previous/next steps
2008-07-25 09:59:05 +00:00
Paul Bakaus
112493b8b9
draggable: since revert no longer checks for numbers, introduced a revertDuration option
2008-07-25 08:53:42 +00:00
Keith Wood
a87fa9856a
Disable inline datepickers
2008-07-23 10:39:41 +00:00
Keith Wood
323399c7bf
Fixed 3105 First week in November day repeat
...
Fixed 3088 Repeating date in October 2008
2008-07-23 10:35:33 +00:00
Keith Wood
d1083005b4
Fixed 3108 Allow ids with square brackets
...
Fixed 3113 Allow ids with colon or period
2008-07-23 10:29:15 +00:00
Keith Wood
1f826dc041
Fixed 3111 Add option to allow large previous/next movements
2008-07-23 10:26:22 +00:00
Marc Grabanski
57599ce033
don't need document ready on init
2008-07-20 17:16:09 +00:00
Marc Grabanski
d675c6c510
Datepicker div now appends to the document after the datepicker(); function is called instead of automatically on include.
2008-07-20 17:09:09 +00:00
Paul Bakaus
3ddb7477e2
sortable: fixed a items issue caused the items of the container itself to be doubled if the connected query also match on it. Implemented the option connected (bool), for function serialize to also serialize connected lists.
2008-07-19 15:05:37 +00:00
Keith Wood
5ec53d2c2c
Fixed 3084 Arrange order of month and year selectboxes
2008-07-18 09:23:10 +00:00
Keith Wood
e139f6ccaa
Fixed 3080 Calls _setDateFromField when inline
...
Fixed 3082 Arrow keys unnecissarily bound in datepicker
Corrected otherMonth class name
Corrected getDate for ranges
2008-07-18 09:00:04 +00:00
Paul Bakaus
83f858aa28
draggable: implemented more advanced features for the snap option - you can now pass in a object instead of a bolean into "snap", possible keys are the callbacks snap/release (which both receive ui.snapItem) and items (jQuery selector, defaults to :data(draggable))
2008-07-17 16:13:10 +00:00
Paul Bakaus
db258edf2a
draggable: fixed relative position bug (please NEVER check in elem.style just for performance optimizations)
2008-07-17 15:04:42 +00:00
Richard Worth
872c757f40
Added missing ui-selectable-helper class to helper/lasso element
2008-07-16 00:28:25 +00:00
Scott González
6cfb6208ee
Magnifier: Partial cleanup.
2008-07-16 00:08:43 +00:00
Scott González
c2ce22addf
Magnifier: Partial cleanup.
2008-07-15 02:00:34 +00:00
Scott González
e96c202a35
Magnifier: Partial cleanup.
2008-07-15 01:54:41 +00:00
Scott González
de8a6ea866
Magnifier: Partial cleanup.
2008-07-15 01:32:24 +00:00
Scott González
5750375701
Tabs: Updated to use new trigger() method.
2008-07-14 23:54:16 +00:00
Scott González
86f15f876f
Accordion: Updated to use new trigger() method.
2008-07-14 23:41:02 +00:00