Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Translations of PluginType not working on postBack. Closes #108

  • Loading branch information...
commit 7fbf957cc9cd555f001b142e38f531a9cb9f7bf3 1 parent b1ad8b0
@matheo matheo authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  src/modules/Clip/lib/Clip/Form/PluginType.php
View
3  src/modules/Clip/lib/Clip/Form/PluginType.php
@@ -32,6 +32,9 @@ public function setup()
public function render($render)
{
+ // domain is not settled on postBack
+ $this->setDomain(ZLanguage::getModuleDomain('Clip'));
+
$this->cssClass = strpos($this->cssClass, 'clip-plugintypeselector') === false ? $this->cssClass.' clip-plugintypeselector' : $this->cssClass;
$result = parent::render($render);
Please sign in to comment.
Something went wrong with that request. Please try again.