Exemplo n.º 1
0
 /**
  * Overrides parent implementation to just render the inner contents and avoid replacing the element itself when
  * updating clientside, because replacing/removing will cause jqueryui to fire destroy on the original dialog extension.
  * @param THtmlWriter html writer
  */
 public function render($writer)
 {
     if ($this->getHasPreRendered() && $this->getActiveControl()->canUpdateClientSide()) {
         parent::renderContents($writer);
         $this->getPage()->getCallbackClient()->replaceContent($this, $writer, false);
     } else {
         parent::render($writer);
     }
 }