Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qx.ui.toolbar.Toolbar.removeAll() doesn't return children array #9030

Closed
level420 opened this issue Jun 1, 2016 · 2 comments · Fixed by #9032
Closed

qx.ui.toolbar.Toolbar.removeAll() doesn't return children array #9030

level420 opened this issue Jun 1, 2016 · 2 comments · Fixed by #9032
Assignees
Labels
bug Errors
Milestone

Comments

@level420
Copy link
Member

level420 commented Jun 1, 2016

qx.ui.toolbar.Toolbar.removeAll() doesn't return children array,
returns undefined instead

quick fix:

ToolBar.js

// overridden
_removeAll : function() {
  var ret = this.base(arguments);
  this._recalculateOverflow(null, 0);
  return ret;
},

Regards, Johannes

@level420
Copy link
Member Author

level420 commented Jun 1, 2016

Originaly reported on old bugzilla.

@level420
Copy link
Member Author

level420 commented Jun 1, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Errors
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants