Skip to content

Commit

Permalink
ToolBar is unable to hide buttons in the overflow container. Fixes #2102
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimo Dimov committed Aug 25, 2016
1 parent 112d9a7 commit 0711dfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kendo.toolbar.js
Expand Up @@ -1111,7 +1111,7 @@ var __meta__ = { // jshint ignore:line
if (item.overflow.options.type === "button" && item.overflow.options.isChild) {
item.overflow.hide();
item.overflow.getParentGroup().refresh();
} else if(!item.toolbar.options.hidden) {
} else if(!item.overflow.options.hidden) {
item.overflow.hide();
}
}
Expand Down

0 comments on commit 0711dfd

Please sign in to comment.