Since we make use of Drupal.behavior we should have a dependency to the core.drupal library and declare the Drupal object as argument of the function in the js/admin_toolbar.js file.

Comments

romainj created an issue. See original summary.

romainj’s picture

  • romainj committed f38838c on 8.x-1.x
    Issue #2932476 by romainj: toolbar.tree library should have a dependency...
romainj’s picture

Committed in latest dev version.

romainj’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.