/**
  * Register the additional script for task detail modal
  */
 protected function renderScripts()
 {
     parent::renderScripts();
     Yii::app()->custom->registerTaskModalDetailsScript($this->getGridViewId());
     TasksUtil::registerTaskModalEditScript($this->getGridViewId(), $this->getCreateLinkRouteParameters());
     TasksUtil::registerTaskModalCopyScript($this->getGridViewId(), $this->getCreateLinkRouteParameters());
     TasksUtil::registerTaskModalDeleteScript($this->getGridViewId());
 }