Commit Graph

3033 Commits

Author SHA1 Message Date
Felix Nagel
e6aca63a77 Selectmenu: simplify $.each usage in _readOptions method 2012-12-03 23:28:06 +01:00
Felix Nagel
aa60a9e114 Selectmenu: use item.index instead of _getSelectedItem method 2012-12-03 23:19:15 +01:00
Felix Nagel
60e3302d96 Selectmenu: use text() instead of html() as the option and optgroup is read as text 2012-12-03 23:07:30 +01:00
Felix Nagel
cba09dafa7 Selectmenu: guard clause should not return false 2012-12-03 23:05:09 +01:00
Felix Nagel
04553a7da5 Selectmenu: close guard close should test for closed menu 2012-12-03 23:04:53 +01:00
Felix Nagel
0d282630de Selectmenu: make isOpen check a guard clause in close method 2012-11-29 20:57:44 +01:00
Felix Nagel
18ecaf45db Selectmenu: added comment about popup positioning 2012-11-29 20:33:05 +01:00
Felix Nagel
f622428c43 Selectmenu: improve disabled check in open method 2012-11-29 20:23:30 +01:00
Felix Nagel
ac7b8f925a Selectmenu: improve comment in _drawMenu 2012-11-29 20:20:43 +01:00
Felix Nagel
1e6808a1a2 Selectmenu: replace placeholder entity with   2012-11-29 20:13:57 +01:00
Felix Nagel
a177a92635 Selectmenu: improve element creation 2012-11-29 20:10:05 +01:00
Felix Nagel
e581a13c10 Selectmenu: remove unnecessary comments from _drawButton 2012-11-29 20:06:00 +01:00
Felix Nagel
71e744ad30 Selectmenu: move button event binding in _drawButton 2012-11-29 19:54:10 +01:00
Felix Nagel
080b5bca0a Selectmenu: remove unnecessary comments from _create 2012-11-29 19:53:12 +01:00
Felix Nagel
b014bc6245 Selectmenu: alphabetical ordering of options and callback events 2012-11-29 19:49:43 +01:00
Felix Nagel
8a62210538 Selectmenu: updated documentation link 2012-11-29 19:41:20 +01:00
Felix Nagel
7328333773 Selectmenu: better position handling, fixes issue with wrong styles when using custom positioning 2012-11-29 00:58:28 +01:00
Felix Nagel
36533a718d Merge branch 'master' into selectmenu 2012-11-28 23:29:15 +01:00
Scott González
dec844570f Autocomplete: When appendTo is a jQuery object or a DOM element, don't search against the document. Fixes #8858 - Autocomplete: Fails when appendTo is detached from the DOM. 2012-11-28 10:33:59 -05:00
Scott González
f2854408cc Tooltip: Escape the title attribute so that it's treated as text and not HTML. Fixes #8861 - Tooltip: XSS vulnerability in default content. 2012-11-27 11:21:33 -05:00
Viktor Kojouharov
c5e0961268 Effects: Use $ instead of jQuery in $.effects.animateClass. Fixes #8860 - Effects: Class animation has broken noConflict support. 2012-11-27 08:27:48 -05:00
Scott González
e6e706bbd6 Datepicker: Remove JSHint overrides. 2012-11-27 08:22:21 -05:00
Scott González
7c53af0abc Datepicker: Remove support for setting options via custom attributes. 2012-11-26 22:50:36 -05:00
Fabrício Matté
caacf8f504 Button: Let change handler handle display and aria update. Fixed #5518 - Button: Incorrect state after double click in Firefox 2012-11-26 20:15:53 -05:00
David Petersen
6121683d80 Tabs: Calculate border and padding on tabs container. Fixed #8836: Height overflows parent with heightStyle: 'fill'. 2012-11-26 16:35:07 -05:00
TJ VanToll
0cd470b0d5 Resizable: Modified the default z-index value of resizable handles. Fixed #7960 - Dialog: Modal dialogs do not disable resizables on the page. 2012-11-26 12:42:44 +01:00
Jörn Zaefferer
7e9060c109 Dialog: Extract setting the title into a _title method, use .text() to prevent XSS. Fixes #6016 - Dialog: Title XSS Vulnerability. 2012-11-26 10:28:25 +01:00
Jörn Zaefferer
60486ac632 Dialog: Don't focus dialog when mousedown is on close button. Fixes #8838 - Dialog: Close icon does not work in dialog larger than the window in IE. 2012-11-26 10:28:25 +01:00
Kris Borchers
d179cbaf32 Dialog: Update position when size is changed. Fixes #8789 - Dialog does not close for first click on chrome. 2012-11-26 10:28:25 +01:00
Jörn Zaefferer
ec1f1bde76 Dialog: Follow-up to c77ca67 - exclude button options from properties to create the button. 2012-11-26 10:28:25 +01:00
Jörn Zaefferer
a09f5c07f5 Dialog: Follow-up to 9fe3a62d8 - also deprecate string notation for position option. 2012-11-26 10:28:25 +01:00
Jörn Zaefferer
32a893128d Dialog: Improve _destroy method, detaching dialog content from wrapper instead of appending to body. 2012-11-26 10:28:24 +01:00
Jörn Zaefferer
41c2afd66b Dialog: Refactor overlay handling into two instance methods. Remove unaddressable TODOs. 2012-11-26 10:28:24 +01:00
Jörn Zaefferer
a0310eb091 Dialog: Move array notation support for position option to backCompat check. Fixes #8824 - Deprecate array notation for position option. 2012-11-26 10:28:24 +01:00
Jörn Zaefferer
0be97bf8c0 Dialog: Removed broken disabled option from dialog, defuse disable/enable methods. Disabling dialogs is not supported. 2012-11-26 10:28:24 +01:00
Jörn Zaefferer
b27db7e3b9 Dialog: Extend autofocus, starting with [autofocus], then :tabbable content, then buttonpane, then close button, then dialog. Fixes #4731 - Dialog: Add option to set which element gains focus on open 2012-11-26 10:28:24 +01:00
Jörn Zaefferer
999617343f Dialog: Pass through icons and showText (as 'text') options to button. Fixes #6830 - Allow Icons to be specified for Dialog buttons. 2012-11-26 10:28:23 +01:00
Jörn Zaefferer
d8b98ec3bb Dialog: Tiny code improvements 2012-11-26 10:28:23 +01:00
Jörn Zaefferer
e3dcaf28eb Dialog: Remove uuid and getTitleId. Leftovers from 240b22b143. 2012-11-26 10:28:23 +01:00
Jörn Zaefferer
0bc73b74b6 Dialog: Remove busted ui-dialog-disabled class, shouldn't be there. Removed outdated TODOs. 2012-11-26 10:28:23 +01:00
Jörn Zaefferer
972f5c192c Dialog: Button is now a fixed dependency, so remove the check 2012-11-26 10:28:23 +01:00
Jörn Zaefferer
0ae6fc1e02 Dialog: Remove useless tmp vars. 2012-11-26 10:28:23 +01:00
Jörn Zaefferer
625a111fb9 Dialog: Extracting wrapper creation into _createWrapper. Merging the two keydown handlers into one. 2012-11-26 10:28:23 +01:00
Jörn Zaefferer
4c9caa8169 Dialog: Extract button pane creation into _createButtonPane 2012-11-26 10:28:22 +01:00
Jörn Zaefferer
1d6ce644e0 Dialog: Refactor _create, extracting title bar creation in _createTitlebar 2012-11-26 10:28:22 +01:00
Jörn Zaefferer
f0acaac230 Dialog: Refactor uiDialogTitlebar variable, use this.uiDialogTitlebar instead. Wasn't needed anymore (previous refactorings). 2012-11-26 10:28:22 +01:00
Jörn Zaefferer
7a0353500a Dialog: Refactor the mousedown-bind call to use _on, removing the need for the uiDialog closure. Use this.uiDialog and remove the variable. 2012-11-26 10:28:22 +01:00
Jörn Zaefferer
1001504249 Dialog: Remove outdated TODO 2012-11-26 10:28:22 +01:00
Jörn Zaefferer
c8aef203cb Dialog: Have _makeResizable look at options instead of passing handles. 2012-11-26 10:28:22 +01:00
Jörn Zaefferer
16a79c1b9c Dialog: Finish refactoring _setOption, getting rid of unnecessary switch (no fallthroughs). 2012-11-26 10:28:22 +01:00