Skip to content

Commit

Permalink
Content dialog field, fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Fedik committed Apr 18, 2023
1 parent 97c7dc7 commit 1295c08
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,9 @@ public function display($tpl = null)
$this->form->setFieldAttribute('tags', 'language', '*,' . $forcedLanguage);
}

$this->addToolbar();
if ($this->getLayout() !== 'modal') {
$this->addToolbar();
}

parent::display($tpl);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,9 @@ public function display($tpl = null)
$this->form->setFieldAttribute('tags', 'language', '*,' . $forcedLanguage);
}

$this->addToolbar();
if ($this->getLayout() !== 'modal') {
$this->addToolbar();
}

parent::display($tpl);
}
Expand Down

0 comments on commit 1295c08

Please sign in to comment.