jQuery UI 1.6.0 Changelog


Released on April 16, 2009

link General

What was originally planned as the 1.6 release was moved over to the 1.7 release. The final 1.6 release is 1.6rc2 plus fixes. This is a legacy compatibility release for those still using jQuery 1.2.6.

link Core

  • Widget factory: Added trigger method for triggering callbacks and events.
  • cleaned up $.ui.hasScroll().
  • Fixed: UI plugins should support metadata (#3187)
  • Fixed: prevent exposure of internal methods (#3188)
  • Fixed: define key constants in ui.core.js (#3233)
  • Fixed: Add option method to widgets (#3257)
  • Fixed: drop is invoked as many times as droppable has been invoked (#3275)
  • Fixed: Return on enableSelection and disableSelection (#3174)
  • Fixed: .remove() doesn't call the plugin's destroy method (#3457)
  • Fixed: Remove .ariaRole() and .ariaState() (#3529)
  • Fixed: .removeAttr() needs to support ARIA properties (#3562)
  • Fixed: document elements can't retrieve mouse down/up event whendragging layer (#3552)
  • Removed names from ui.core.js as all contribution credit is given in AUTHORS.txt and http://ui.jquery.com/about

link Interactions

link Draggable

  • added: more advanced features for the snap option - you can now passin a object instead of a bolean into "snap", possible keys are thecallbacks snap/release (which both receive ui.snapItem) and items(jQuery selector, defaults to :data(draggable))
  • added: since revert no longer checks for numbers, introduced arevertDuration option
  • added: cssNamespace option, if set to false/null, it won't add aclass to the element
  • fixed: overflow calculation in the positioning methods
  • fixed: issue when scroll was set to true, and therefore droppablesinside changed their position as well
  • fixed: IE scrolling but with overflowing containers and appendTobeing used
  • Fixed: iframeFix in draggable(#3161)
  • Fixed: Put version numbers inside of individual files (#3284)
  • Fixed: Containment (resizable and draggable) not working whencontainer has overflow:hidden (#3328)
  • Fixed: Sortables do not work on sorted elements that are alsoresizable (#3164)
  • Fixed: Draggable revert: option can be a callback (#3175)
  • Fixed: iframeFix in draggable (#3161)
  • Fixed: Containment (resizable and draggable) not working whencontainer has overflow:hidden (#3328)
  • Fixed: Sortables do not work on sorted elements that are alsoresizable (#3164)
  • Fixed: Draggable revert: option can be a callback (#3175)
  • changed default for scroll option to true
  • made connectToSortable work fine with helper: 'original' (byremoving top/left properties at sort end)
  • fixed positioning issue with relative positioned elements relativeto the body during scroll
  • containment doesn't respect margins anymore, Sortable elements notstaying inside container (#3538
  • Fixed: Draggable revert: option can be a callback (#3175)

link Droppable

  • added: cssNamespace option, if set to false/null, it won't add aclass to the element
  • Fixed: accept.droppable not an option (#3386)
  • fixed missing default for option 'accept' (set to "*" = everything)

link Resizable

  • Fixed: Sortables do not work on sorted elements that are alsoresizable (#3164)
  • Fixed: Resizable aspectRatio is switched. Should be width/height (#3450)
  • Fixed: Resizable css cursor not getting applied (#3480)
  • Fixed: Resizable errors when alsoResize option is a jQuery object (#3693)
  • Fixed: Resizable: all classes added should have 'ui-' prefix,'proxy' should be 'ui-resizable-helper' (#3708)
  • Fixed: Resizable containment fix (#3714)

link Selectable

  • Fixed: Ctrl-Select should use Cmd key on Mac (#3169)
  • Fixed: prevent exposure of internal methods (#3205)

link Sortable

  • Fixed: prevent exposure of internal methods (#3209)
  • Fixed: Sortables do not work on sorted elements that are alsoresizable (#3164)
  • Fixed: createHelper is not passing the event object (#3454)
  • Fixed: ui.sortable - IE6+ doesn't fire click-event after sorting (#3488)
  • Fixed: sortable with default radio (prev ticket 2930) (#3466)
  • Fixed: a way to cancel a sort in sortable (#3283)
  • Added: Method to cancel a sortable attempt (#3402)
  • Fixed: Events removed on sortable elements (#3541)
  • fixed containment issue (with 'parent', height was miscalculated dueto wrong append order)
  • fixed issues with _convertPositionTo, missed from latest re-factor,miscalculated the absolute position including scroll
  • fixed connectToSortable option, wasn't working with Arrays asdescribed in the documentation
  • accurateIntersection using outerWidth/outerHeight
  • removed default tolerance "guess" for the simplier (and betterworking) default mode, and the plain "pointer" intersection
  • merged draggable fixes into sortables (r1313, r1325)

link Widgets

link Accordion

  • Fixed: prevent exposure of internal methods (#3194)

link Datepicker

  • Add day-of-year to format and parse date routines. Correct statusdisplay
  • Fixed: Datepicker Italian localization (#3167)
  • Fixed: invalid increment operand (#3434)
  • Fixed #3610. Error in French l18n file.
  • Fixed #3598. Datepicker Japanese translation replacement
  • Escape text to prevent date info substitution
  • Fixed #3610. Error in French l18n file.
  • Fixed #3642. firstDay displays day names incorrectly.

link Dialog

  • Fixed: problem with auto margins in IE. (3086)
  • Fixed: Force dialog titlebars to have a full line height when notitle is provided. (3013)
  • Fixed: Modal dialog not working correctly on Opera 9.51 (#3076)
  • Fixed: prevent exposure of internal methods (#3198)
  • Fixed: closeOnEscape doesn't work on modal dialogs (#3253)
  • Fixed: Title of dialogs (#3259)
  • Fixed: Tabbing stops in modal dialog (#3123)
  • Fixed: Focus not going to Modal Dialog (#3327)
  • Fixed: fixed-size dialogs still have resizable border (#3220)
  • Fixed: fix handling on non-draggable dialgos (#3389)
  • Fixed: add beforeClose option (#3087)
  • Fixed: modal dialogs aren't greedy enough with element focus (#3350)
  • Fixed: Cannot select scrollbars inside dialog in Opera 9.51 (#3193)
  • Fixed: Remove .ariaRole() and .ariaState() (#3529)
  • Fixed #3637: Added role of button to close link.
  • Fixed #3638: Added closeText option (default 'close').
  • Fixed #3564: Proper positioning in Opera.
  • Fixed #3221: Use outerWidth/Height for positioning.

link Slider

  • Fixed: fix for arrow key operation (#3801)
  • Fixed: prevent exposure of internal methods (#3206)
  • Fixed: prevent exposure of internal methods (#3188)
  • Fixed: Slider: keyboard event not swalled, causes scrolling (#3342)
  • Fixed: Slider fire beforeunload event (#3228)
  • Fixed: Callbacks in Slider (#3465)

link Tabs

  • Fixed: Selected index becomes off by one when removing tabs (#3065)
  • Fixed: prevent exposure of internal methods (#3208)
  • Fixed: cookie value is not checked on init + selected tab is notstored in cookie on init (#3015)

link Effects

link Core

  • Fixed: Replace global jQuery with dollar sign (#3596)

link Highlight

  • Fixed: Replace global jQuery with dollar sign (#3596)