aboutsummaryrefslogtreecommitdiffstats
path: root/ui/widgets/controlgroup.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/widgets/controlgroup.js')
-rw-r--r--ui/widgets/controlgroup.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/widgets/controlgroup.js b/ui/widgets/controlgroup.js
index 4fc348e28..5974d51c9 100644
--- a/ui/widgets/controlgroup.js
+++ b/ui/widgets/controlgroup.js
@@ -36,7 +36,7 @@ return $.widget( "ui.controlgroup", {
options: {
direction: "horizontal",
disabled: null,
- excludeInvisible: true,
+ onlyVisible: true,
items: {
"button": "input[type=button], input[type=submit], input[type=reset], button, a",
"controlgroupLabel": ".ui-controlgroup-label",
@@ -209,7 +209,7 @@ return $.widget( "ui.controlgroup", {
children = this.childWidgets;
// We filter here because we need to track all childWidgets not just the visible ones
- if ( this.options.excludeInvisible ) {
+ if ( this.options.onlyVisible ) {
children = children.filter( ":visible" );
}