Commits

Bogdan Savluk committed 857ad8e

Fix to use non-minified script versions when debugging.

  • Participants
  • Parent commits 828dd16

Comments (0)

Files changed (1)

     {
         $cs = Yii::app()->getClientScript();
         $cs->registerCoreScript('jquery');
-        if (defined('DEBUG'))
+        if (defined('YII_DEBUG'))
             $cs->registerScriptFile($this->assetsDir . '/chosen.jquery.js');
         else
             $cs->registerScriptFile($this->assetsDir . '/chosen.jquery.min.js');