mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
fixed not translated tooltip/label
This commit is contained in:
parent
84b6e72f4b
commit
c2aad7342f
@ -125,8 +125,8 @@ var et2_image = et2_baseWidget.extend([et2_IDetachedDOM],
|
|||||||
},
|
},
|
||||||
|
|
||||||
set_label: function(_value) {
|
set_label: function(_value) {
|
||||||
if(_value == this.options.label && _value == this.image.attr('title')) return;
|
|
||||||
this.options.label = _value;
|
this.options.label = _value;
|
||||||
|
_value = this.egw().lang(_value);
|
||||||
// label is NOT the alt attribute in eTemplate, but the title/tooltip
|
// label is NOT the alt attribute in eTemplate, but the title/tooltip
|
||||||
this.image.attr("alt", _value).attr("title", _value);
|
this.image.attr("alt", _value).attr("title", _value);
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user