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

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