示例#1
0
文件: EFrameJuiDlg.php 项目: cicb/tpc
 /**
  * Set the source of the iframe
  * @return string
  */
 protected function jsBeforeOpenClick()
 {
     return parent::jsBeforeOpenClick() . "\$('#{$this->getFrameId()}').attr('src','{$this->getActionUrl()}');";
 }
示例#2
0
文件: EAjaxJuiDlg.php 项目: cicb/tpc
 /**
  * Add the code for the button click
  * @return string
  */
 protected function jsBeforeOpenClick()
 {
     return $this->renderOpenButton ? parent::jsBeforeOpenClick() . $this->getAjaxFunction() . ';' : parent::jsBeforeOpenClick();
 }