Fixed translation of description widgets

This commit is contained in:
Andreas Stöckel 2012-03-02 12:13:20 +00:00
parent 14e6ceecb6
commit ecad6a0d01
2 changed files with 3 additions and 2 deletions

View File

@ -392,4 +392,4 @@ if ($GLOBALS['egw_info']['flags']['debug'] == 'etemplate_new')
}
$GLOBALS['egw_info']['flags']['app_header'] = $name;
$template->exec('etemplate.etemplate.debug', array(), array(), array(), array(), 2);
}
}

View File

@ -98,7 +98,7 @@ var et2_description = et2_baseWidget.extend([et2_IDetachedDOM], {
},
transformAttributes: function(_attrs) {
this._super.apply(arguments);
this._super.apply(this, arguments);
if (this.id)
{
@ -156,6 +156,7 @@ var et2_description = et2_baseWidget.extend([et2_IDetachedDOM], {
{
this.options.href = _values["href"];
}
if (typeof _values["value"] != "undefined")
{
et2_insertLinkText(this._parseText(_values["value"]), _nodes[0],