Issue #2 wontfix

Small path to Bootstrap.php

Anonymous created an issue

Had some issues with failing Bootstrap JS scripts. Please add in components/Bootstrap.php the position of the script:

{{{

!php

/**
 * Registers a Bootstrap JavaScript file.
 * @param $fileName the file name.
 */
public function registerScriptFile($fileName, $position=CClientScript::POS_END)
{
    Yii::app()->getClientScript()->registerScriptFile($this->getAssetsUrl().'/js/'.$fileName, $position);
}

}}}

To help avoid JS errors when putting JQuery UI at the end of the layout file.

Comments (1)

  1. Log in to comment