예제 #1
0
 protected function registerOperatorOnLoadAndOnChangeScript()
 {
     OperatorStaticDropDownElement::registerOnLoadAndOnChangeScript();
 }
 /**
  * @return string
  */
 public function renderContent()
 {
     OperatorStaticDropDownElement::registerOnLoadAndOnChangeScript();
     return $this->renderForm();
 }
 /**
  * Register filter scripts.
  */
 protected function registerFiltersScripts()
 {
     Yii::app()->getClientScript()->registerCoreScript('treeview');
     Yii::app()->clientScript->registerScriptFile(Yii::app()->getAssetManager()->publish(Yii::getPathOfAlias('application.modules.reports.views.assets')) . '/ReportUtils.js');
     Yii::app()->clientScript->registerScript('clickflow', "\n                function loadFiltersTreeView()\n                {\n                    " . RowsAndColumnsReportForSavedCalendarWizardView::renderTreeViewAjaxScriptContent(static::getFormId(), static::getFiltersForReportWizardViewClassName(), Report::TYPE_ROWS_AND_COLUMNS) . "\n                }\n                loadFiltersTreeView();\n            ");
     Yii::app()->getClientScript()->registerCoreScript('bbq');
     OperatorStaticDropDownElement::registerOnLoadAndOnChangeScript();
 }