Esempio n. 1
0
 /**
  * {@inheritDoc}
  */
 public function loadAssets()
 {
     $this->actAsParent();
     parent::loadAssets();
     $this->actAsParent(false);
     if (Locale::isAvailable()) {
         $this->loadLocaleAssets();
         $this->addJs('js/mlswitcher.js');
     }
 }
 /**
  * {@inheritDoc}
  */
 protected function loadAssets()
 {
     $this->actAsParent();
     parent::loadAssets();
     $this->actAsParent(false);
     if (Locale::isAvailable()) {
         $this->loadLocaleAssets();
         $this->addJs('js/mlricheditor.js');
     }
 }
Esempio n. 3
0
 /**
  * {@inheritDoc}
  */
 public function onLoadPageLinksForm()
 {
     $this->actAsParent();
     return parent::onLoadPageLinksForm();
 }