Scott González
639afa5954
Lint fixes.
2012-04-02 19:12:21 -04:00
Scott González
ccbfd45924
A few lint fixes.
2012-04-02 15:55:50 -04:00
Jo Liss
37dcc3e21d
Protect all copyright notices against minification
...
For instance, this is useful for the jquery-ui-rails gem, which does not
use jQuery UI's own minification, but relies on Rails to minify the
files where necessary. Rails in turn uses UglifyJS for JS and YUI for
CSS, both of which respect the /*! ... */ convention.
2012-04-02 15:21:06 +02:00
kborchers
11b026d59b
Menu: Better disabled item handling using preventDefault() for the click event on anchors inside of disabled menu items and change the pointer to default
2012-03-18 21:18:00 -05:00
Scott González
932fe888c0
Updated copyright year.
2012-03-08 10:53:08 -05:00
kborchers
4da7ec37ac
Menu: Add default null callbacks and update unit tests
2012-02-26 22:52:38 -06:00
Scott González
609243b21d
Use jQuery.css() instead of deprecated jQuery.curCSS().
2012-02-12 09:01:06 -05:00
kborchers
1cd26fc759
Menu: Make sure the next element is defined in addition to checking length != 0
2012-02-06 15:16:08 -06:00
kborchers
b968ac32a1
Menu: Whitespace
2012-02-06 14:13:45 -06:00
kborchers
87dc9ce24a
Menu: Prevent navigating to disabled menu items with the keyboard.
2012-02-06 14:12:56 -06:00
kborchers
30713ade36
Menu: Remove left over debugging statement.
2012-02-04 08:37:04 -06:00
kborchers
48ad0994a0
Menu: Prevent clicking on disabled menu items and remove unnecessary extra padding from disabled items.
2012-02-03 16:12:37 -06:00
kborchers
8c5c6e0a32
Menu: Added check for the disabled option on create.
2012-01-22 11:24:49 -06:00
Jörn Zaefferer
370bc00150
Menubar/Popup: Remove remaining artifact (trigger option) from menu. Missed that before
2012-01-11 19:58:46 +01:00
Jörn Zaefferer
85348eeebe
Menubar/Popup: Remove both to streamline the 1.9 release. Will revert this delete on the menubar branch, while development on master can continue without them.
2012-01-04 16:42:16 +01:00
kborchers
f0007ec745
Menu: Change first() and last() to isFirstItem() and isLastItem()
2011-12-23 09:48:14 -06:00
kborchers
c88add2269
Menu: Fix close delay and increase the default delay
2011-12-20 11:49:48 -06:00
kborchers
cf1470dcef
Menu: Replace accidentally removed scroll-handling code in focus
2011-12-15 13:28:33 -06:00
kborchers
a8d0e4c804
Menu: Fix focus handling to keep focus on the menu and prevent jumping around within the menu on mousedown
2011-12-15 12:43:28 -06:00
kborchers
ce7918fc73
Menu: Change items option to menus
2011-12-01 12:39:16 -06:00
kborchers
afdc577e9c
Menu: Remove the isScrolling check which nolonger seems necessary.
2011-11-30 08:39:10 -06:00
kborchers
74a3f2ce08
Menu: Move mousedown handler into _bind and fix focusing of the Menu after click. Fixes focus issues with Selectmenu and Autocomplete.
2011-11-23 22:37:55 -06:00
Scott González
a0856efef3
Widget: Added window and document properties. Fixes #7801 - Widget: Add document and window properties.
2011-10-20 16:57:47 -04:00
Hans Hillen
3c258bfa3c
Rewrite popup/menu interaction to make popup managed by menu (adds trigger option to menu). Makes popup agnostic of menu and allows datepicker to use popup (soon).
2011-10-19 12:05:37 +02:00
kborchers
9a274c0675
Menu: Check if menu is scrolling to prevent inadvertent mouseover events from being fired on scroll
2011-10-12 16:13:34 -05:00
Corey Frang
34a0479d1c
Menu: Refactoring the collapseAll to deal with some issues selecting - Updating unit tests. Thanks @kborchers
2011-09-22 15:30:46 -05:00
kborchers
9e617bbad1
Menu: Add support for structures other than UL/LI plus visual and unit tests
2011-09-14 10:29:36 -05:00
Jörn Zaefferer
e1ec6f8ebb
Menu: Refactor to get rid of var that. Cleanup some odd formattings and unneeded temp vars
2011-09-13 00:24:43 +02:00
Jörn Zaefferer
ae0c4e44ff
Merge remote branch 'kborchers/menu_autoCollapse'
2011-09-12 23:54:19 +02:00
Jörn Zaefferer
bf26bf1ac4
Menu: Get rid of var self
, replacing with that
or calls to _delay
2011-09-12 23:52:17 +02:00
Jörn Zaefferer
609e1f87f4
Menu: Replace regular bind call with _bind
2011-09-12 23:19:19 +02:00
kborchers
94317d7aa4
Menu: Added autoCollapse as the default and added a unit test
2011-09-12 08:43:49 -05:00
Jörn Zaefferer
a57c435257
Whitespace
2011-07-28 15:56:57 +02:00
Jörn Zaefferer
5e35a0c55b
Widget delegation: Put back the simple click event handler where it was.
2011-07-28 15:55:56 +02:00
Jörn Zaefferer
5b45d618dc
Widget delegation: Further simplify menu code, blur handler also doesn't do anything
2011-07-28 15:53:55 +02:00
Jörn Zaefferer
9e2efe95b2
Widget delegation: Further simplify menu code
2011-07-28 15:52:52 +02:00
Jörn Zaefferer
02aad7b0ae
Widget delegation: Update menu to use _bind with delegation. Clean up test.
2011-07-28 15:47:59 +02:00
kborchers
e16e99a154
Menu: Added focusing first menu item when menu receives focus and collapseAll when menu loses focus (blur).
2011-07-26 08:52:33 -05:00
Jörn Zaefferer
f89091105f
Merge remote branch 'kborchers/menu_home_end'
2011-07-25 23:57:51 +02:00
Scott González
19a9de7e66
Merge branch 'master' into core-1.6.1
...
Conflicts:
demos/menubar/default.html
tests/unit/autocomplete/autocomplete.html
tests/visual/effects/effects.all.html
ui/jquery.ui.menu.js
ui/jquery.ui.popup.js
2011-07-25 11:53:14 -04:00
kborchers
23340f1162
Menu: Added Home moves to first item and End moves to last item in currently active menu or submenu. Also fixed PageUp and PageDown so that they don't wrap back around to other end of menu. Also fixed scrolling to use activeMenu rather than element to all. Also added unit tests for keyboard nav
2011-07-25 09:13:13 -05:00
kborchers
8224c675e1
Menu: Passed the original event that causes a blur through collapseAll to blur, then trigger a blur on the menu. Fixes failing unit test provided by @rwaldron which has been included in this commit
2011-07-19 16:15:59 -05:00
kborchers
6d0859f716
Menu: Changed closeAll to collapseAll and updated in Menubar, also updated a reference to left in Menubar to collapse.
2011-07-14 11:38:03 -04:00
Jörn Zaefferer
11d24ee84c
Menu: Fix formatting and whitespace (was supposed to update previous commit)
2011-07-14 11:10:28 -04:00
kborchers
f41d2378f9
Menu: Check if submenu is already open and if so, don't call open again. Fixes Firefox bug where a mouseover of an icon adjusted the position of a submenu by a half pixel
2011-07-14 11:08:28 -04:00
kborchers
bc93b3ff08
Menu: Remove the ui-state-active class from the siblings of the newly activated menu item without a delay to fix a bug where mouseover of a menu item directly adjacent to the active item would cause a 1 pixel jump due to both items having a class with a border (ui-state-active and ui-state-focus)
2011-07-13 15:33:17 -05:00
Scott González
0080f2d581
Use .attr() for boolean ARIA attributes.
2011-07-12 11:36:34 -04:00
kborchers
9f5050ee06
Menu: Added close on click outside using technique from popup
2011-07-12 11:03:10 -04:00
kborchers
5d2b683761
Menu: Changed left and right methods to collapse and expand respectively.
2011-07-05 10:02:33 -05:00
gnarf
85eeaf0b05
menu: Second pass style guidance
2011-06-10 07:23:01 -05:00