value of description set via id need to get translated, if !no_lang is set, value set via value attribute already get translated via transformAttributes and translate: "!no_lang" of value

This commit is contained in:
Ralf Becker 2013-05-03 11:46:26 +00:00
parent 0749b41b29
commit 005d5ed090

View File

@ -121,6 +121,8 @@ var et2_description = et2_baseWidget.extend([et2_IDetachedDOM],
set_value: function(_value) {
if(!_value) _value = "";
else
if (!this.options.no_lang) _value = this.egw().lang(_value);
et2_insertLinkText(this._parseText(_value),
this.span[0],
this.options.extra_link_target