/** * Set the source of the iframe * @return string */ protected function jsBeforeOpenClick() { return parent::jsBeforeOpenClick() . "\$('#{$this->getFrameId()}').attr('src','{$this->getActionUrl()}');"; }
/** * Add the code for the button click * @return string */ protected function jsBeforeOpenClick() { return $this->renderOpenButton ? parent::jsBeforeOpenClick() . $this->getAjaxFunction() . ';' : parent::jsBeforeOpenClick(); }