protected function registerJsPackagesIfEnabled() {
		
		if (!$this->enableJS)
			return;

		if (!$this->ajaxJsLoad && Yii::app()->request->isAjaxRequest)
			return;

		$this->registerPackage('bootstrap.js');
        $this->registerPackage('bootstrap-noconflict');

		if ($this->enableBootboxJS)
			$this->registerPackage('bootbox');

		if ($this->enableNotifierJS)
			$this->registerPackage('notify');
		
		if($this->enablePopover)
			$this->registerPopoverJs();
		
		if($this->enableTooltip)
			$this->registerTooltipJs();
	}
protected function registerJsPackagesIfEnabled() {
		
		if (!$this->enableJS)
			return;

		if (!$this->ajaxJsLoad && Yii::app()->request->isAjaxRequest)
			return;

		$this->registerPackage('bootstrap.js');
        $this->registerPackage('bootstrap-noconflict');

		if ($this->enableBootboxJS)
			$this->registerPackage('bootbox');

		if ($this->enableNotifierJS)
			$this->registerPackage('notify');
		
		if($this->enablePopover)
			$this->registerPopoverJs();
		
		if($this->enableTooltip)
			$this->registerTooltipJs();
	}
protected function registerJsPackagesIfEnabled ( ) { if ( ! $ this -> enableJS ) return ; if ( ! $ this -> ajaxJsLoad && Yii :: app ( ) -> request -> isAjaxRequest ) return ; $ this -> registerPackage ( 'bootstrap.js' ) ; $ this -> registerPackage ( 'bootstrap-noconflict' ) ; if ( $ this -> enableBootboxJS ) $ this -> registerPackage ( 'bootbox' ) ; if ( $ this -> enableNotifierJS ) $ this -> registerPackage ( 'notify' ) ; if ( $ this -> enablePopover ) $ this -> registerPopoverJs ( ) ; if ( $ this -> enableTooltip ) $ this -> registerTooltipJs ( ) ; }
If `enableJS` is not `false`, register our Javascript packages
If enableJS is not false register our Javascript packages