Skip to content
Browse files

Translations of PluginType not working on postBack. Closes #108

  • Loading branch information...
1 parent b1ad8b0 commit 7fbf957cc9cd555f001b142e38f531a9cb9f7bf3 @matheo matheo committed Apr 25, 2012
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);

0 comments on commit 7fbf957

Please sign in to comment.
Something went wrong with that request. Please try again.