]> source.dussan.org Git - jquery-ui.git/log
jquery-ui.git
13 years agoMerge branch 'tabs_4386' of https://github.com/petersendidit/jquery-ui
Scott González [Mon, 21 Mar 2011 15:30:11 +0000 (11:30 -0400)]
Merge branch 'tabs_4386' of https://github.com/petersendidit/jquery-ui

13 years agoMerge branch 'master' of https://github.com/thg2k/jquery-ui
Scott González [Mon, 21 Mar 2011 13:47:29 +0000 (09:47 -0400)]
Merge branch 'master' of https://github.com/thg2k/jquery-ui

13 years agoMerge branch 'master' of https://github.com/RedWolves/jquery-ui
Scott González [Mon, 21 Mar 2011 13:18:51 +0000 (09:18 -0400)]
Merge branch 'master' of https://github.com/RedWolves/jquery-ui

13 years agoTabs: Fix disable and enable methods to correctly handle when index is undefined... 162/head
David Petersen [Sun, 6 Feb 2011 19:49:42 +0000 (14:49 -0500)]
Tabs: Fix disable and enable methods to correctly handle when index is undefined. Use boolean when fully enabled/disabled. Allow selected tab to be disabled.Fixes #4386

13 years agoTabs: Updates cookie demo to include more information on how to find cookie plugin... 161/head
Ralph Whitbeck [Sun, 20 Mar 2011 14:58:08 +0000 (07:58 -0700)]
Tabs: Updates cookie demo to include more information on how to find cookie plugin. Fixes #7172, [Documentation] Explain cookie plugin is included in externals.

13 years agoUse QUnit.push instead of assertion method for custom assertions to get
jzaefferer [Sun, 20 Mar 2011 14:56:48 +0000 (15:56 +0100)]
Use QUnit.push instead of assertion method for custom assertions to get
correct filename and line number output

13 years agoUpdated to latest QUnit
jzaefferer [Sun, 20 Mar 2011 14:56:32 +0000 (15:56 +0100)]
Updated to latest QUnit

13 years agoBuild: Update to latest Closure Compiler jar
jzaefferer [Sun, 20 Mar 2011 11:21:42 +0000 (12:21 +0100)]
Build: Update to latest Closure Compiler jar

13 years agoRestructured if/else's for better readability 160/head
Giovanni Giacobbi [Sun, 20 Mar 2011 02:19:36 +0000 (03:19 +0100)]
Restructured if/else's for better readability

13 years agoDatepicker: Changed a comment that causes problems with YUI Compressor. Fixes #7129...
Scott González [Fri, 18 Mar 2011 12:26:08 +0000 (08:26 -0400)]
Datepicker: Changed a comment that causes problems with YUI Compressor. Fixes #7129 - Datepicker: Can't minify with YUI Compressor.

13 years agoMenu: Close submenu on ESCAPE keypress
jzaefferer [Thu, 17 Mar 2011 16:43:11 +0000 (17:43 +0100)]
Menu: Close submenu on ESCAPE keypress

13 years agoMenubar: Don't close active menu on mouseenter of associated button
jzaefferer [Thu, 17 Mar 2011 14:47:56 +0000 (15:47 +0100)]
Menubar: Don't close active menu on mouseenter of associated button

13 years agoMenubar: on a single-button menubar, ignore reopening the same menu
jzaefferer [Thu, 17 Mar 2011 14:44:09 +0000 (15:44 +0100)]
Menubar: on a single-button menubar, ignore reopening the same menu

13 years agoMenubar: Another fix for tab/focus handling
jzaefferer [Thu, 17 Mar 2011 14:37:27 +0000 (15:37 +0100)]
Menubar: Another fix for tab/focus handling

13 years agoMenubar: Fix closing with escape key
jzaefferer [Thu, 17 Mar 2011 14:26:06 +0000 (15:26 +0100)]
Menubar: Fix closing with escape key

13 years agoMenubar: Focus/tab handling, improved much
jzaefferer [Thu, 17 Mar 2011 14:10:25 +0000 (15:10 +0100)]
Menubar: Focus/tab handling, improved much

13 years agoMenubar: Put focus back to button when closing menu
jzaefferer [Thu, 17 Mar 2011 13:23:35 +0000 (14:23 +0100)]
Menubar: Put focus back to button when closing menu

13 years agoMenubar: Close submenus on Escape first, only close all when on top-level
jzaefferer [Thu, 17 Mar 2011 12:58:57 +0000 (13:58 +0100)]
Menubar: Close submenus on Escape first, only close all when on top-level

13 years agoMenubar: Handle cursor UP/DOWN to open menu
jzaefferer [Thu, 17 Mar 2011 11:04:22 +0000 (12:04 +0100)]
Menubar: Handle cursor UP/DOWN to open menu

13 years agoMenubar: Handle ESCAPE to close and refactor document-click code to also use _bind
jzaefferer [Thu, 17 Mar 2011 11:00:37 +0000 (12:00 +0100)]
Menubar: Handle ESCAPE to close and refactor document-click code to also use _bind

13 years agoWidget: Accept selectors and DOM elements as element-argument to _bind
jzaefferer [Thu, 17 Mar 2011 10:59:32 +0000 (11:59 +0100)]
Widget: Accept selectors and DOM elements as element-argument to _bind

13 years agoMenu: menubar cleanup
jzaefferer [Thu, 17 Mar 2011 10:51:38 +0000 (11:51 +0100)]
Menu: menubar cleanup

13 years agoMenu: Fix menubar tab and focus handling
jzaefferer [Thu, 17 Mar 2011 10:50:21 +0000 (11:50 +0100)]
Menu: Fix menubar tab and focus handling

13 years agoMenu: Implement delaying of opening and closing submenus
jzaefferer [Thu, 17 Mar 2011 09:37:37 +0000 (10:37 +0100)]
Menu: Implement delaying of opening and closing submenus

13 years agoMenu: More test markup
jzaefferer [Thu, 17 Mar 2011 09:35:18 +0000 (10:35 +0100)]
Menu: More test markup

13 years agoMenu: Handle clicking on a menu item without hovering it first. Fixes #7085 - Menu...
Scott González [Tue, 15 Mar 2011 18:02:18 +0000 (14:02 -0400)]
Menu: Handle clicking on a menu item without hovering it first. Fixes #7085 - Menu click when no mouseover causes error.

13 years agoAutocomplete unit test: corrected name and argument order of equal() call in autoFocu...
Richard Worth [Tue, 15 Mar 2011 16:55:16 +0000 (12:55 -0400)]
Autocomplete unit test: corrected name and argument order of equal() call in autoFocus test function

13 years agoAutocomplete: moved autoFocus implementation to after menu visible for a11y
Richard Worth [Tue, 15 Mar 2011 16:26:47 +0000 (12:26 -0400)]
Autocomplete: moved autoFocus implementation to after menu visible for a11y

13 years agoAutocomplete: refactored unit tests for autoFocus option
Richard Worth [Tue, 15 Mar 2011 13:36:36 +0000 (09:36 -0400)]
Autocomplete: refactored unit tests for autoFocus option

13 years agoMerge branch 'ticket-3968' of https://github.com/gnarf37/jquery-ui
Scott González [Tue, 15 Mar 2011 13:18:38 +0000 (09:18 -0400)]
Merge branch 'ticket-3968' of https://github.com/gnarf37/jquery-ui

13 years agoDatepicker: Updated to check for new or old style effects (see #7103).
gnarf [Fri, 11 Mar 2011 15:26:08 +0000 (09:26 -0600)]
Datepicker: Updated to check for new or old style effects (see #7103).

13 years agoEffects: Moved effects to $.effects.effect[] and deprecated use of $.effects[]. Fixes...
gnarf [Tue, 15 Mar 2011 13:00:45 +0000 (09:00 -0400)]
Effects: Moved effects to $.effects.effect[] and deprecated use of $.effects[]. Fixes #7103 - Effects: Move effects to $.effects.effect[].

13 years agoAutocomplete: added unit tests for autoFocus. Fixed #7032 - Autocomplete: Add option...
Richard Worth [Tue, 15 Mar 2011 12:42:28 +0000 (08:42 -0400)]
Autocomplete: added unit tests for autoFocus. Fixed #7032 - Autocomplete: Add option to automatically highlight the first result

13 years agoAutocomplete: changed autoFocus default to true for 1.9. Fixed #7042 - Autocomplete...
Richard Worth [Tue, 15 Mar 2011 09:48:31 +0000 (05:48 -0400)]
Autocomplete: changed autoFocus default to true for 1.9. Fixed #7042 - Autocomplete: Default autoFocus to true

13 years agoAutocomplete: new option autoFocus, default false. Fixed #7032 - Autocomplete: Add...
Richard Worth [Tue, 15 Mar 2011 09:39:56 +0000 (05:39 -0400)]
Autocomplete: new option autoFocus, default false. Fixed #7032 - Autocomplete: Add option to automatically highlight the first result

13 years agoAccordion: set aria-selected to true on selected header, false on others. Fixed ...
Richard Worth [Tue, 15 Mar 2011 08:30:36 +0000 (04:30 -0400)]
Accordion: set aria-selected to true on selected header, false on others. Fixed #7078 - Accordion: Set aria-selected

13 years agoDraggable: Calling .refreshPositions instead of ._refreshItems when dragging with... 155/head
Matt Hoskins [Mon, 14 Mar 2011 13:53:00 +0000 (06:53 -0700)]
Draggable: Calling .refreshPositions instead of ._refreshItems when dragging with a connected sortable to force containerCache initialisation/update. Fixed: #5563 - connectToSortable misbehaves if the position of the sortable changes after the sortable and draggable have been initialised as _refreshItems no longer updating container cache.

13 years agoeffects.explode: correcting my misspelled variable name :/ 152/head
gnarf [Sat, 12 Mar 2011 20:41:56 +0000 (14:41 -0600)]
effects.explode: correcting my misspelled variable name :/

13 years agoeffects.explode: rework math used to split the div into peices - split the box disreg...
gnarf [Sat, 12 Mar 2011 02:00:36 +0000 (20:00 -0600)]
effects.explode: rework math used to split the div into peices - split the box disregarding margins
Fixes #3968 - effects explode: explodes from the right instead of from the center

13 years agoMenu: Add menubar-with-one-button-in-table example.
jzaefferer [Fri, 11 Mar 2011 17:13:10 +0000 (18:13 +0100)]
Menu: Add menubar-with-one-button-in-table example.

13 years agoMenu: Improve CSS on testpage
jzaefferer [Fri, 11 Mar 2011 16:23:15 +0000 (17:23 +0100)]
Menu: Improve CSS on testpage

13 years agoButton: find associated label even without common ancestor. Fixes #7092 - button...
ddstreet [Fri, 11 Mar 2011 15:52:13 +0000 (10:52 -0500)]
Button: find associated label even without common ancestor. Fixes #7092 - button creation that requires a matching label does not find label in all cases

13 years agoMerge branch 'ddmanager-caches-wrong-dimensions' of https://github.com/EleotleCram...
Scott González [Fri, 11 Mar 2011 15:19:45 +0000 (10:19 -0500)]
Merge branch 'ddmanager-caches-wrong-dimensions' of https://github.com/EleotleCram/jquery-ui into EleotleCram-ddmanager-caches-wrong-dimensions

13 years agoeffects.core: Another place where args.callback was used that escaped my first pass
gnarf [Fri, 11 Mar 2011 13:10:14 +0000 (07:10 -0600)]
effects.core: Another place where args.callback was used that escaped my first pass

13 years agoDroppable: enabled and accepting droppables are now activated prior to evaluating... 150/head
Marcel Toele [Fri, 11 Mar 2011 14:37:52 +0000 (15:37 +0100)]
Droppable: enabled and accepting droppables are now activated prior to evaluating their geometry. Fixes #7104 Droppable: if activeClass changes the geometry of a droppable, then dnd uses the wrong geometry.

13 years agoeffects.*: Explode effect was removing more elements than it should upon completion... 149/head
gnarf [Fri, 11 Mar 2011 04:18:19 +0000 (22:18 -0600)]
effects.*: Explode effect was removing more elements than it should upon completion. Fixed #6022 - multiple explosions cut short

13 years agoEffects: Handle just passing an effect name.
Scott González [Wed, 9 Mar 2011 15:09:29 +0000 (10:09 -0500)]
Effects: Handle just passing an effect name.

13 years agoMerge branch 'effects-api' of https://github.com/gnarf37/jquery-ui into gnarf37-effec...
Scott González [Wed, 9 Mar 2011 15:01:07 +0000 (10:01 -0500)]
Merge branch 'effects-api' of https://github.com/gnarf37/jquery-ui into gnarf37-effects-api

13 years agoEffects demo: Animate a containing div instead of the canvas directly for easing...
gnarf [Tue, 8 Mar 2011 22:04:55 +0000 (16:04 -0600)]
Effects demo: Animate a containing div instead of the canvas directly for easing demo. Fixes #7086 - easing only first click is working.

Canvas seems to be animating poorly in Chrome 11 - and animating the height only is scaling width too in some browsers yet not others...

13 years agoUnit tests: removed no longer utilized tickets.js files for Menu and Tooltip
Richard Worth [Tue, 8 Mar 2011 19:22:48 +0000 (14:22 -0500)]
Unit tests: removed no longer utilized tickets.js files for Menu and Tooltip

13 years agoDialog: Before handling escape key presses, check if the default action has been...
Jay Merrifield [Tue, 8 Mar 2011 14:42:10 +0000 (09:42 -0500)]
Dialog: Before handling escape key presses, check if the default action has been prevented. Fixes #6966 - Pressing ESC on dialog when 2 dialogs are open closes both dialogs.

13 years agoDraggable: modify margins of the containment according to the margin of the draggable...
Guillaume Gautreau [Tue, 8 Mar 2011 14:32:48 +0000 (09:32 -0500)]
Draggable: modify margins of the containment according to the margin of the draggable element. Fixed #7084 - Draggable with parent containment and margin

13 years agoMerge branch 'effects-api' of github.com:gnarf37/jquery-ui into effects-api 141/head
gnarf [Tue, 8 Mar 2011 06:56:10 +0000 (00:56 -0600)]
Merge branch 'effects-api' of github.com:gnarf37/jquery-ui into effects-api

13 years agoeffect.puff: Errant console.log removed
gnarf [Tue, 8 Mar 2011 05:53:24 +0000 (23:53 -0600)]
effect.puff: Errant console.log removed

13 years agoMouse visual test: Bump jQuery version.
Scott González [Mon, 7 Mar 2011 15:50:47 +0000 (10:50 -0500)]
Mouse visual test: Bump jQuery version.

13 years agoMouse: Adding visual test for issue #6946 - Mouse: click event suppressed after drag...
awgy [Sat, 5 Feb 2011 13:45:37 +0000 (07:45 -0600)]
Mouse: Adding visual test for issue #6946 - Mouse: click event suppressed after drag in Gecko

13 years agoMouse: Reset click event suppression on next mousedown. Fixes #6946 - Mouse: click...
awgy [Sat, 5 Feb 2011 08:13:55 +0000 (02:13 -0600)]
Mouse: Reset click event suppression on next mousedown. Fixes #6946 - Mouse: click event suppressed after drag in Gecko

13 years agoDatepicker: Reformat minDate/maxDate when dateFormat changes. Fixes #7009 - Reformat...
Adam Parod [Thu, 17 Feb 2011 21:17:40 +0000 (15:17 -0600)]
Datepicker: Reformat minDate/maxDate when dateFormat changes. Fixes #7009 - Reformat minDate/maxDate when dateFormat changes.

13 years agoSortable: Changed floating calculation to determine also whether items are being...
michaelmwu [Sat, 5 Mar 2011 06:17:30 +0000 (22:17 -0800)]
Sortable: Changed floating calculation to determine also whether items are being displayed horizontally. Helps fix odd sorting behavior for horizontal lists. Fixed #6702 - horizontal sortable not working (and solution)

13 years agoDialog: Added a class to dialog wrapper when it is currently displaying buttons,...
Douglas Neiner [Wed, 2 Mar 2011 17:52:21 +0000 (12:52 -0500)]
Dialog: Added a class to dialog wrapper when it is currently displaying buttons, includes unit tests for changes. Fixed #7057 - An extra class is needed on the dialog wrapper to specify when a buttonset is showing

13 years agoDatepicker i18n: corrected arabic month name for May. Fixed #7055 - Datepicker: arabi...
Richard Worth [Thu, 3 Mar 2011 02:27:09 +0000 (21:27 -0500)]
Datepicker i18n: corrected arabic month name for May. Fixed #7055 - Datepicker: arabic month name has March in place of May

13 years agoSwitched to latest stable jQuery 1.5.1
Richard Worth [Thu, 3 Mar 2011 01:44:26 +0000 (20:44 -0500)]
Switched to latest stable jQuery 1.5.1

13 years agoMerge branch 'master' into effects-api
gnarf [Mon, 7 Mar 2011 17:15:28 +0000 (11:15 -0600)]
Merge branch 'master' into effects-api

13 years agoMouse visual test: Bump jQuery version.
Scott González [Mon, 7 Mar 2011 15:50:47 +0000 (10:50 -0500)]
Mouse visual test: Bump jQuery version.

13 years agoMerge branch 'master' of https://github.com/voxwerk/jquery-ui into voxwerk-master
Scott González [Mon, 7 Mar 2011 15:47:33 +0000 (10:47 -0500)]
Merge branch 'master' of https://github.com/voxwerk/jquery-ui into voxwerk-master

13 years agoDatepicker: Reformat minDate/maxDate when dateFormat changes. Fixes #7009 - Reformat...
Adam Parod [Thu, 17 Feb 2011 21:17:40 +0000 (15:17 -0600)]
Datepicker: Reformat minDate/maxDate when dateFormat changes. Fixes #7009 - Reformat minDate/maxDate when dateFormat changes.

13 years agoeffects.drop: Quick second pass Style Guidance
gnarf [Mon, 7 Mar 2011 05:34:24 +0000 (23:34 -0600)]
effects.drop: Quick second pass Style Guidance

13 years agoeffects.fade: Using $ instead of jQuery
gnarf [Mon, 7 Mar 2011 03:16:56 +0000 (21:16 -0600)]
effects.fade: Using $ instead of jQuery

13 years agoeffects.core: Style Guidance
gnarf [Mon, 7 Mar 2011 02:44:35 +0000 (20:44 -0600)]
effects.core: Style Guidance

13 years agoeffects.*: style guidance
gnarf [Mon, 7 Mar 2011 00:48:14 +0000 (18:48 -0600)]
effects.*: style guidance

13 years agoeffects.*: Style Guidance
gnarf [Mon, 7 Mar 2011 00:34:18 +0000 (18:34 -0600)]
effects.*: Style Guidance

13 years agoeffect.*: Style Guidance
gnarf [Sun, 6 Mar 2011 23:45:43 +0000 (17:45 -0600)]
effect.*: Style Guidance

13 years agoAdding fade to the tests
gnarf [Sun, 6 Mar 2011 21:24:48 +0000 (15:24 -0600)]
Adding fade to the tests

13 years agoeffects.*: More Style Guidance
gnarf [Sun, 6 Mar 2011 21:24:24 +0000 (15:24 -0600)]
effects.*: More Style Guidance

13 years agoeffects.drop: Style Guidance
gnarf [Sun, 6 Mar 2011 11:36:06 +0000 (05:36 -0600)]
effects.drop: Style Guidance

13 years agoeffects.clip: Reuse a var instead of calculate again
gnarf [Sun, 6 Mar 2011 11:25:38 +0000 (05:25 -0600)]
effects.clip: Reuse a var instead of calculate again

13 years agoeffects.clip: Style Guidance
gnarf [Sun, 6 Mar 2011 11:22:32 +0000 (05:22 -0600)]
effects.clip: Style Guidance

13 years agoEffects: Minor whitespace improvements
gnarf [Sat, 5 Mar 2011 22:17:54 +0000 (16:17 -0600)]
Effects: Minor whitespace improvements

13 years agoSortable: Changed floating calculation to determine also whether items are being... 140/head
michaelmwu [Sat, 5 Mar 2011 06:17:30 +0000 (22:17 -0800)]
Sortable: Changed floating calculation to determine also whether items are being displayed horizontally. Helps fix odd sorting behavior for horizontal lists. Fixed #6702 - horizontal sortable not working (and solution)

13 years agoEffects: General Code Cleanup
gnarf [Fri, 4 Mar 2011 23:10:02 +0000 (17:10 -0600)]
Effects: General Code Cleanup

13 years agoDialog: Added a class to dialog wrapper when it is currently displaying buttons,...
Douglas Neiner [Wed, 2 Mar 2011 17:52:21 +0000 (12:52 -0500)]
Dialog: Added a class to dialog wrapper when it is currently displaying buttons, includes unit tests for changes. Fixed #7057 - An extra class is needed on the dialog wrapper to specify when a buttonset is showing

13 years agoCleaning up effects.core _normalizeArguments a bit more
gnarf [Thu, 3 Mar 2011 02:58:10 +0000 (20:58 -0600)]
Cleaning up effects.core _normalizeArguments a bit more

13 years agoDatepicker i18n: corrected arabic month name for May. Fixed #7055 - Datepicker: arabi...
Richard Worth [Thu, 3 Mar 2011 02:27:09 +0000 (21:27 -0500)]
Datepicker i18n: corrected arabic month name for May. Fixed #7055 - Datepicker: arabic month name has March in place of May

13 years agoUpdated to new effects object API
gnarf [Thu, 3 Mar 2011 02:10:09 +0000 (20:10 -0600)]
Updated to new effects object API

13 years agoJust a quick touch to update to new internal effects object API
gnarf [Thu, 3 Mar 2011 02:00:57 +0000 (20:00 -0600)]
Just a quick touch to update to new internal effects object API

13 years agoSwitched to latest stable jQuery 1.5.1
Richard Worth [Thu, 3 Mar 2011 01:44:26 +0000 (20:44 -0500)]
Switched to latest stable jQuery 1.5.1

13 years agoQuick rewrite for new options object
gnarf [Thu, 3 Mar 2011 01:46:46 +0000 (19:46 -0600)]
Quick rewrite for new options object

13 years agoShould add a visual test for the standard show/hide method to make sure we don't...
gnarf [Thu, 3 Mar 2011 01:46:19 +0000 (19:46 -0600)]
Should add a visual test for the standard show/hide method to make sure we don't break it by overriding it

13 years agoStarting to clean up the internal API for animations
gnarf [Thu, 3 Mar 2011 01:30:27 +0000 (19:30 -0600)]
Starting to clean up the internal API for animations

13 years agoMenubar: Close menu on input click when already open
jzaefferer [Mon, 28 Feb 2011 21:53:06 +0000 (22:53 +0100)]
Menubar: Close menu on input click when already open

13 years agoMenubar: Remove dependency on button and simplify CSS accordingly.
jzaefferer [Mon, 28 Feb 2011 21:49:49 +0000 (22:49 +0100)]
Menubar: Remove dependency on button and simplify CSS accordingly.

13 years agoMenu: Cleanup
jzaefferer [Mon, 28 Feb 2011 21:38:06 +0000 (22:38 +0100)]
Menu: Cleanup

13 years agoMenu: Move addClass(active) call to _open to make it work for both mouse
jzaefferer [Mon, 28 Feb 2011 21:36:41 +0000 (22:36 +0100)]
Menu: Move addClass(active) call to _open to make it work for both mouse
and keyboard interactions

13 years agoTooltip: Make sure we have a target before trying to open the tooltip.
Scott González [Sat, 26 Feb 2011 14:06:06 +0000 (15:06 +0100)]
Tooltip: Make sure we have a target before trying to open the tooltip.

13 years agoTooltip: Rename _show to _open.
Scott González [Sat, 26 Feb 2011 14:04:33 +0000 (15:04 +0100)]
Tooltip: Rename _show to _open.

13 years agoWidget tests: Work around a bug in jQuery core in IE 9rc.
Scott González [Sat, 26 Feb 2011 12:31:45 +0000 (13:31 +0100)]
Widget tests: Work around a bug in jQuery core in IE 9rc.

13 years agoSpinner: Ignore delta of 0 from triggered mousewheel event. Verified
jzaefferer [Sat, 26 Feb 2011 11:10:52 +0000 (12:10 +0100)]
Spinner: Ignore delta of 0 from triggered mousewheel event. Verified
that mousewheel scrolling actually works fine in IE6.

13 years agoAccordion: Improve unit test to get consistent results on mobile devices
jzaefferer [Sat, 26 Feb 2011 10:48:56 +0000 (11:48 +0100)]
Accordion: Improve unit test to get consistent results on mobile devices

13 years agoPosition: Test for window scrollTop support and run scrolled window test
jzaefferer [Sat, 26 Feb 2011 10:23:37 +0000 (11:23 +0100)]
Position: Test for window scrollTop support and run scrolled window test
only when support is there. Should exclude mobile devices, getting the
position testsuite to produce more useful results.

13 years agoButton: Only add text classes if there is text. Fixes #7040 - button class change...
Scott González [Sat, 26 Feb 2011 10:13:00 +0000 (11:13 +0100)]
Button: Only add text classes if there is text. Fixes #7040 - button class change breaks icon only buttons.