Customizing datepicker
Hi, my first time here and thought this would be more appropriate here. I'm making some small adjustments to the ui.datepicker. My goal is to add support for shortcuts now and add some validation later. At the moment I'm trying to add a shortcut of 'n' ie when the user types 'n' in an input field associated with datepicker it would change this to the current date (so the user doesn't have to open the calendar). I'm stuck at _doKeyPress-function. I get it to recognize the n- keypress but it won't
Prioritizing Plugins
We will be doing our next round of plugin prioritization in a few weeks. You can find details on how this process works at <a href="http://wiki.jqueryui.com/Prioritizing-plugins">http://wiki.jqueryui.com/Prioritizing-plugins</a> We would like to flesh out the process before this round starts, so if you have any feedback please post on the wiki. Thanks.
r2082 - trunk/ui
Author: klaus.hartl Date: Sat Feb 14 07:56:44 2009 New Revision: 2082 Modified: trunk/ui/ui.tabs.js Log: Tabs: using closest() is shorter Modified: trunk/ui/ui.tabs.js ============================================================================== --- trunk/ui/ui.tabs.js (original) +++ trunk/ui/ui.tabs.js Sat Feb 14 07:56:44 2009 @@ -208,7 +208,7 @@ handleState('hover', $(this)); }); this.$tabs.bind('focus.tabs blur.tabs', function() { - handleState('focus',
Eating mouse click after dragging interferes with cursorAt and handle options of sortable
This thread talks about eating final click after dragging stops: http://groups.google.com/group/jquery-ui-dev/browse_thread/thread/932a7d8ba2bd24e2/b876341a7a603da2 This is implemented in current codebase in ui.core.js in _mouseUp by setting _preventClickEvent = true. Imagine what happens if final click is not fired for some reason... The property prevents next ordinal user click, which is really annoying. This situation happens for me, when I set cursorAt: { top: 5, left: 5 } and maybe it is also
r2081 - trunk/ui
Author: scott.gonzalez Date: Fri Feb 13 20:27:31 2009 New Revision: 2081 Modified: trunk/ui/ui.core.js Log: Mouse: Fixed #4146: Don't set the flag to prevent click events if mouseup occurs on a diferent element than mousedown (was preventing the next click event from occuring). Modified: trunk/ui/ui.core.js ============================================================================== --- trunk/ui/ui.core.js (original) +++ trunk/ui/ui.core.js Fri Feb 13 20:27:31 2009 @@ -484,7 +484,7 @@ if
r2080 - trunk/ui
Author: scott.gonzalez Date: Fri Feb 13 19:02:38 2009 New Revision: 2080 Modified: trunk/ui/ui.core.js Log: Mouse: Stop immediate propagation of click events. Partial fix for #3177 - click is fired for draggagble elements on mouseUp. Modified: trunk/ui/ui.core.js ============================================================================== --- trunk/ui/ui.core.js (original) +++ trunk/ui/ui.core.js Fri Feb 13 19:02:38 2009 @@ -380,6 +380,7 @@ .bind('click.'+this.widgetName, function(event)
Sortable - ConnectWith (bug ? )
Hi all, First of all I would like to thank you for the great work! I have a problem with sortable connectWith, I have read this post http://groups.google.com/group/jquery-ui-dev/browse_thread/thread/1850879252df7caa/c8e3fbc9e185135d?lnk=gst&q=sortable+connectWith#c8e3fbc9e185135d and saw the update made but I am still not able to make it work whis is my code. Javascript ********************* <script type="text/javascript"> $(function() { $("#sortable1, #sortable2").sortable({
r2079 - in trunk: tests/unit/tabs ui
Author: klaus.hartl Date: Fri Feb 13 15:05:16 2009 New Revision: 2079 Modified: trunk/tests/unit/tabs/tabs_methods.js trunk/ui/ui.tabs.js Log: Tabs: mouseover/focus handling for added tabs, plus test, fixes #4097 as well as focus/blur handling when using keyboard Modified: trunk/tests/unit/tabs/tabs_methods.js ============================================================================== --- trunk/tests/unit/tabs/tabs_methods.js (original) +++ trunk/tests/unit/tabs/tabs_methods.js Fri Feb 13
r2078 - trunk/demos/slider
Author: klaus.hartl Date: Fri Feb 13 14:18:35 2009 New Revision: 2078 Modified: trunk/demos/slider/side-scroll.html Log: fixed an incorrect slash and a self closing span Modified: trunk/demos/slider/side-scroll.html ============================================================================== --- trunk/demos/slider/side-scroll.html (original) +++ trunk/demos/slider/side-scroll.html Fri Feb 13 14:18:35 2009 @@ -41,8 +41,8 @@ .mouseup(function(){ scrollbar.width( '100%' );
r2067 - trunk/ui
Author: scott.gonzalez Date: Thu Feb 12 18:25:21 2009 New Revision: 2067 Modified: trunk/ui/effects.core.js trunk/ui/ui.core.js Log: Prevent loading core files multiple times. Fixes #4130 - Too much recurson with double include. Modified: trunk/ui/effects.core.js ============================================================================== --- trunk/ui/effects.core.js (original) +++ trunk/ui/effects.core.js Thu Feb 12 18:25:21 2009 @@ -7,11 +7,9 @@ * * http://docs.jquery.com/UI/Effects/ */
r2069 - in trunk: tests/unit/resizable tests/visual/resizable ui
Author: scott.gonzalez Date: Thu Feb 12 19:36:56 2009 New Revision: 2069 Removed: trunk/tests/visual/resizable/resizable_option_preventDefault_false.html trunk/tests/visual/resizable/resizable_option_preventDefault_true.html Modified: trunk/tests/unit/resizable/resizable_defaults.js trunk/ui/ui.resizable.js Log: Resizable: - Fixed destroy method. - Removed preventDefault option (Fixed #4135 - preventDefault should not be an option as there's not use case for false). Modified: trunk/tests/unit/resizable/resizable_defaults.js
#3177 - click is fired for draggagble elements on mouseUp
I've proposed a solution for this in jquery-dev, I'd appreciate any feedback (please reply in the jquery-dev thread): <a href="http://groups.google.com/group/jquery-dev/browse_thread/thread/2a5ecc08f5629670">http://groups.google.com/group/jquery-dev/browse_thread/thread/2a5ecc08f5629670</a>
r2077 - trunk/ui
Author: paul.bakaus Date: Fri Feb 13 05:28:20 2009 New Revision: 2077 Modified: trunk/ui/ui.sortable.js Log: sortable: pageX/pageY already do not include scroll offsets in safari, therefore it does not need to be substracted again (fixes #4041) Modified: trunk/ui/ui.sortable.js ============================================================================== --- trunk/ui/ui.sortable.js (original) +++ trunk/ui/ui.sortable.js Fri Feb 13 05:28:20 2009 @@ -806,13 +806,13 @@ pos.top //
r2076 - trunk/ui
Author: paul.bakaus Date: Fri Feb 13 05:05:24 2009 New Revision: 2076 Modified: trunk/ui/ui.draggable.js Log: draggable: pageX/pageY already do not include scroll offsets in safari, therefore it does not need to be substracted again (fixes #4142) (only if css position is fixed) (removed redundant check) Modified: trunk/ui/ui.draggable.js ============================================================================== --- trunk/ui/ui.draggable.js (original) +++ trunk/ui/ui.draggable.js Fri Feb
r2075 - trunk/ui
Author: paul.bakaus Date: Fri Feb 13 04:47:52 2009 New Revision: 2075 Modified: trunk/ui/ui.draggable.js Log: draggable: pageX/pageY already do not include scroll offsets in safari, therefore it does not need to be substracted again (fixes #4142) (only if css position is fixed) Modified: trunk/ui/ui.draggable.js ============================================================================== --- trunk/ui/ui.draggable.js (original) +++ trunk/ui/ui.draggable.js Fri Feb 13 04:47:52 2009 @@ -299,13
r2074 - trunk/ui
Author: paul.bakaus Date: Fri Feb 13 04:42:42 2009 New Revision: 2074 Modified: trunk/ui/ui.draggable.js Log: draggable: pageX/pageY already do not include scroll offsets in safari, therefore it does not need to be substracted again (fixes #4142) Modified: trunk/ui/ui.draggable.js ============================================================================== --- trunk/ui/ui.draggable.js (original) +++ trunk/ui/ui.draggable.js Fri Feb 13 04:42:42 2009 @@ -299,13 +299,13 @@ pos.top //
r2073 - trunk/ui
Author: paul.bakaus Date: Fri Feb 13 04:26:44 2009 New Revision: 2073 Modified: trunk/ui/ui.draggable.js trunk/ui/ui.sortable.js Log: draggable,sortable: if the offset parent is the body, top/left values should always be normalized to 0 (fixes #4141 - margin on body in safari caused bump) Modified: trunk/ui/ui.draggable.js ============================================================================== --- trunk/ui/ui.draggable.js (original) +++ trunk/ui/ui.draggable.js Fri Feb 13 04:26:44 2009
destroy unit tests not valid
I just noticed that .resizable('destroy') has been broken for a long time, possibly always. The destroy method throws an error and the resizable isn't destroyed. The unit tests all pass though, so I'm guessing that all of our plugins have invalid destroy tests. I've got a fix for resizable that I'm getting ready to commit, but we should figure out some better tests. Also, I'm not sure why any code that throws an error doesn't cause the test to fail.
Bugs closed but still seeing errors
Bugs #3979 and #3980 have been closed (fixed) but when testing against http://view.jquery.com/tags/ui/testing/ui/jquery.ui.all.js im still seeing errors/faulty behavior in my testcases. #3979 (Sortable connectWith fails) throws a new error: [Exception... "'Syntax error, unrecognized expression: #' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "<unknown>" data: no] #3980 (Disabled sortable still receives elements): I'm still
r2072 - trunk
Author: rdworth Date: Fri Feb 13 03:35:59 2009 New Revision: 2072 Modified: trunk/version.txt Log: updated version.txt http://blog.jquery.com/2009/02/12/jquery-ui-17-is-the-new-16/ Modified: trunk/version.txt ============================================================================== --- trunk/version.txt (original) +++ trunk/version.txt Fri Feb 13 03:35:59 2009 @@ -1 +1 @@ -1.6pre \ No newline at end of file +1.7pre \ No newline at end of file
r2071 - trunk/tests/unit/datepicker
Author: scott.gonzalez Date: Thu Feb 12 20:12:28 2009 New Revision: 2071 Modified: trunk/tests/unit/datepicker/datepicker_tickets.js Log: Datepicker: Added test for #4055 - onclick events contain references to "jQuery". Modified: trunk/tests/unit/datepicker/datepicker_tickets.js ============================================================================== --- trunk/tests/unit/datepicker/datepicker_tickets.js (original) +++ trunk/tests/unit/datepicker/datepicker_tickets.js Thu Feb 12 20:12:28
_setContainment should be called AFTER _cacheHelperProportions (1.6rc6)
Hi, So, I've been playing with your awesome addon to jquery, and I noticed that when starting a mouse drag that the "_setContainment()" method uses the helper's proportions to accurately set the bounding box for the drag element. However, sometimes the width or height of the helper is changed by the "start" callback trigger. To handle this possibility, I notice that you already call the _cacheHelperProportions again right after the callback is executed. BUT the _setContainment function has already
r2066 - trunk/ui
Author: paul.bakaus Date: Wed Feb 11 05:40:21 2009 New Revision: 2066 Modified: trunk/ui/ui.datepicker.js Log: datepicker: temporary solution for inline click events with noConflict(true), introduces another global called DT_jQuery to deal with the inline events (fixes #4055, going to be removed with scheduled rewrite) Modified: trunk/ui/ui.datepicker.js ============================================================================== --- trunk/ui/ui.datepicker.js (original) +++ trunk/ui/ui.datepicker.js Wed
r2065 - trunk/ui
Author: paul.bakaus Date: Wed Feb 11 05:04:18 2009 New Revision: 2065 Modified: trunk/ui/ui.progressbar.js Log: progressbar: removed unused variables, some whitespace changes (fixes #4052) Modified: trunk/ui/ui.progressbar.js ============================================================================== --- trunk/ui/ui.progressbar.js (original) +++ trunk/ui/ui.progressbar.js Wed Feb 11 05:04:18 2009 @@ -16,9 +16,6 @@ _init: function() { - var self = this, - options = this.options;
Release date?
Weird... I submitted a post a couple hours ago, and it hasn't shown up yet... Trac is broken atm: Trac detected an internal error: IntegrityError: (1062, "Duplicate entry '9c81eae41b69d41-0-query_time' for key 1") Tried to load up the 1.6 blockers/critical list. What's the ETA on the release and what version should I be using? Is the latest trunk fairly stable now, or should I stick with RC5 or RC6. From what I've read, it seems that RC6 saw quite a few regressions. Cheers, David
UI dialog form
Im using the versions 1.3.1 / 1.6rc6 In firefox/chrome de dialog-form with ajax action works fine, but in ie7, this is very slow, i dont understand why. Who knows why?
jQuery1.3.1 + UI 1.6rc6 - magnifier
jQuery1.3.1 + UI 1.6rc6 : magnifier effect does not work, does it have been cut?
Release date?
Just wondering if there's an ETA on UI 1.6. The jquery blog says that it was due quite some time ago. I've got a project that goes live this Friday, and I was expecting to be able to ship with 1.6, but might have to settle on rc5 (from reading posts, it seems that rc6 saw quite a few regressions). Trac seems to be dead too (gives me a duplicate key integrity error), so I can't see what the current blockers are.
1.6 release status
Hey JQuery UI gang, Could you provide an update on the 1.6 release status? According to the most recent blog post it looks like it is running a week or so behind. An update on the blog or here would be appreciated. Thanks for your great framework... looking forward to using some of the new features in 1.6! Tom
jQuery UI dialog on drag crashes IE6
When dragging a modal in IE6 it freezes the browser.
ui.datepicker -- falls behind other floating panes
Whenever I create a datepicker everything is fine except that it is created behind my other floating panes, how can I adjust it so that it is created on top. Also, just as an fyi, when I create a dialog box it comes up fine. Thanks, David
r2064 - trunk/ui
Author: paul.bakaus Date: Tue Feb 10 07:05:01 2009 New Revision: 2064 Modified: trunk/ui/ui.draggable.js Log: draggable: fixed numerous issues with over/out logic on connected sortable lists (fixes #3988) Modified: trunk/ui/ui.draggable.js ============================================================================== --- trunk/ui/ui.draggable.js (original) +++ trunk/ui/ui.draggable.js Tue Feb 10 07:05:01 2009 @@ -500,11 +500,17 @@ }; $.each(inst.sortables, function(i) { - - if(checkPos.call(inst,
r2063 - trunk/ui
Author: paul.bakaus Date: Tue Feb 10 05:11:34 2009 New Revision: 2063 Modified: trunk/ui/effects.explode.js trunk/ui/effects.fold.js trunk/ui/effects.scale.js trunk/ui/effects.transfer.js trunk/ui/ui.accordion.js trunk/ui/ui.resizable.js trunk/ui/ui.tabs.js Log: all: fixed jslint warnings Modified: trunk/ui/effects.explode.js ============================================================================== --- trunk/ui/effects.explode.js (original) +++ trunk/ui/effects.explode.js Tue Feb 10 05:11:34
sortable to droppable
A week ago I posted the following problem I was having with a sortable list item being moved to a droppable trash bin. http://groups.google.com/group/jquery-ui/browse_thread/thread/778088fbbda7ff25/f9e920a91c1eccdb?lnk=gst&q=spiderling#f9e920a91c1eccdb After many hours of searching and testing, I thankfully came across a site with the same set up and began comparing and testing. It turns out that mine wasn't working because I was using jQuery 1.3.x and UI 1.6rc6. When I used the same versions as
r2061 - trunk/ui
Author: paul.bakaus Date: Tue Feb 10 01:14:59 2009 New Revision: 2061 Modified: trunk/ui/ui.core.js Log: core: prevent calling plugins if the node doesn't exist in DOM anymore (has been removed by the user) (fixes #4087) Modified: trunk/ui/ui.core.js ============================================================================== --- trunk/ui/ui.core.js (original) +++ trunk/ui/ui.core.js Tue Feb 10 01:14:59 2009 @@ -27,7 +27,7 @@ }, call: function(instance, name, args) { var
r2060 - trunk/ui
Author: paul.bakaus Date: Tue Feb 10 00:59:24 2009 New Revision: 2060 Modified: trunk/ui/ui.accordion.js Log: accordion: chaining breaks if value in height() is negative (fixes #4102) Modified: trunk/ui/ui.accordion.js ============================================================================== --- trunk/ui/ui.accordion.js (original) +++ trunk/ui/ui.accordion.js Tue Feb 10 00:59:24 2009 @@ -185,7 +185,7 @@ var maxPadding = 0; this.headers.next().each(function() { maxPadding
r2059 - trunk/themes/base
Author: paul.bakaus Date: Tue Feb 10 00:53:49 2009 New Revision: 2059 Modified: trunk/themes/base/ui.theme.css Log: base theme: fixed typo with the inclusion of a bg texture (fixes #4046) Modified: trunk/themes/base/ui.theme.css ============================================================================== --- trunk/themes/base/ui.theme.css (original) +++ trunk/themes/base/ui.theme.css Tue Feb 10 00:53:49 2009 @@ -19,7 +19,7 @@ ----------------------------------*/ .ui-state-default, .ui-widget-content
r2062 - trunk/ui
Author: paul.bakaus Date: Tue Feb 10 02:07:25 2009 New Revision: 2062 Modified: trunk/ui/ui.sortable.js Log: sortable: if current item was removed by user, it was reappended by the clearing logic (fixes #4088) Modified: trunk/ui/ui.sortable.js ============================================================================== --- trunk/ui/ui.sortable.js (original) +++ trunk/ui/ui.sortable.js Tue Feb 10 02:07:25 2009 @@ -901,8 +901,9 @@ // everything else normalized again var delayedTriggers
Trouble styling Datepicker
Hi I've just tried to use the Datepicker, and something seems to go wrong with the styling of it. I used the ThemeRoller to create "my own" theme, and think I've included it right, but the styling doesn't work (the functionality of Datepicker does work). The way I've included it, is like this: <link href="styles/jQueryTheme/ui.datepicker.css" rel="stylesheet" type="text/css" media="screen" /> <script type="text/javascript" src="jscripts/jquery-1.3.1.min.js"></ script> <script type="text/javascript"
r2058 - trunk/ui
Author: rdworth Date: Mon Feb 9 19:48:21 2009 New Revision: 2058 Modified: trunk/ui/ui.slider.js Log: slider: fixed failing visual test: slider_in_container_with_scrollbars Modified: trunk/ui/ui.slider.js ============================================================================== --- trunk/ui/ui.slider.js (original) +++ trunk/ui/ui.slider.js Mon Feb 9 19:48:21 2009 @@ -134,6 +134,8 @@ self._slide(event, index, newVal); + return false; + }).keyup(function(event)
Next Page