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