malyshev / yii-debug-toolbar

A configurable set of panels that display various debug information about the current request/response.

Home Page:http://www.yiiframework.com/extension/yii-debug-toolbar/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error: yiiDebugToolbar is not defined

goliatone opened this issue · comments

ReferenceError: yiiDebugToolbar is not defined
   yiiDebugToolbar.init();

It seems like the script is not registered at the time of the call. If you change POS_END to POS_HEADER it works:
YiiDebugToolbar, L#168-9:

$cs->registerScriptFile($this->assetsUrl . '/yii.debug.toolbar.js',
                CClientScript::POS_HEAD);