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

jQuery - включать только в том случае если нет jQuery в проекте

RooTooZ opened this issue · comments

Суть проблемы заключается в том что если мы подключили уже в проекте Jquery то не нужно подключать еще одну!
Вызываются ошибки

Working as designed. No changes requires. Use scriptMap property of CClientScript component to disable loading of system jquery (or any other) library.

You could tell how to do it?

Add to your app config -> components

'clientScript' => array(
    'scriptMap' => array(
        'jquery.js' => false
    )
),

Thanks!