Skip to content
Permalink
Browse files

Also initialize lazy loading when render is called directly (e.g. whe…

…n the toolbar is a submenu)
  • Loading branch information...
flack committed Oct 10, 2019
1 parent ee0f974 commit 139edb27e469e361ccb736245da8cf43cc57e5d6
Showing with 6 additions and 0 deletions.
  1. +6 −0 lib/midcom/helper/toolbar/node.php
@@ -32,6 +32,12 @@ protected function _check_index($index, $raise_error = true)
return parent::_check_index($index, $raise_error);
}
public function render() : string
{
$this->add_commands();
return parent::render();
}
public function is_rendered() : bool
{
$this->add_commands();

0 comments on commit 139edb2

Please sign in to comment.
You can’t perform that action at this time.