jQuery UI 1.9.2 发布

jopen 11年前

jQuery UI是一套基于jquery构建具有皮肤更换功能的UI控件和鼠标交互组件。用于帮助开发人员构建具有良好用户体验的Web应用程序。交互组件包括 drag/dropping、sorting、selecting和resizing等。基于这些核心交互组件构建的UI控件有:accordion、 date picker、dialog、slider、table sorter和tab等。

jQuery UI 1.9.2 变化记录:

Core & Utilities

UI Core

  • Moved old jQuery support code to the bottom (above deprecated). (177d0f2)
  • Patch over broken .removeData() in jQuery 1.6.1 + 1.6.2. (310dff1)

Widget Factory

  • Fixed: Ability to use _on() even when disabled. (#8800, f8c154b)
  • Fixed: Bridge fails if widgetFullName is not supplied. (#8775, 8f098d8)
  • Fixed: widgetEventPrefix is incorrect when inheriting with jQuery UI 1.9.1. (#8805, e27195b)
  • Fixed: ui-state-disabled blocks destroy to be triggered on remove. (#8769, 0ad6d7a)

Widgets

Accordion

  • Use .css() to clear the height, instead of .height(). (3175d7d)

Autocomplete

  • Fixed: Autocomplete dropdown positioned incorrectly in IE. (#8749, 8f0daea)

Button

  • Fixed: Refresh does not re-enable disabled button. (#8828, 8def77c)
  • Fixed: Button doesn't remove hover state if they are disabled (#5295, 85b5c5b)

Datepicker

  • Fixed: Faroese locale has incorrect firstDay. (#8815, a1f629f)

Dialog

  • Don't use .attr( props, true ). (ccb741b)
  • Fixed: dialog with position:fixed goes offscreen when opening after scrolling down since v 1.9.0. (#8741, 78ad8e4)
  • Fixed: Internal autocomplete causes scroll bars. (#8793, db1a622)

Menu

  • Fixed: refresh() doesn't refresh existing submenus. (#8773, 9e0071f)

Tabs

  • Fixed: Tabs fail in Safari 5.1 when window.location contains a space. (#8777, cdccd99)
  • Fixed: 'display: none;' attribute is not removed from tabs when destroy is called. (#8795, 41ec411)
  • Fixed: select event not triggering when collapsible:true. (#8813, d7ee956)

Tooltip

  • Fixed: Using the track option within dialogs creates JS errors. (#8747, 241c100, 25a1de4)
  • Fixed: Does not hide consistently with dynamically loaded content. (#8740, f4ce4d3)
  • Fixed: Tooltip is shown, but not hidden if element has class=ui-state-disabled. (#8758, b5cf5b6)
  • Fixed: Default positioning on large items off. (#8739, fbc0e6a)
  • Fixed: tracking fails on nested elements. (#8799, 0be0c26)
  • Fixed: Tooltip shows incorrect message in chrome if there is input with name='title' in a form. (#8742, 48398bc)
  • Use ui-tooltip-open instead of tooltip-open for data key. (da2fbca)

Effects

  • Making sure outerHeight and outerWidth make it through to the .size() implementation in all cases - Fixes IE8 effects failure (188259e)