mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-13 18:17:07 +02:00
Set statustext value as text by default
- Introduce new boolean attribute called statustext_html in case we want explicitly statustext gets rendered as html - Fix Calendar tooltip with new statustext_html attribute
This commit is contained in:
@ -32,6 +32,12 @@ var et2_baseWidget = (function(){ "use strict"; return et2_DOMWidget.extend(et2_
|
||||
"description": "Tooltip which is shown for this element",
|
||||
"translate": true
|
||||
},
|
||||
"statustext_html": {
|
||||
"name": "Tooltip is html",
|
||||
"type": "boolean",
|
||||
"description": "Flag to allow html content in tooltip",
|
||||
"default": false
|
||||
},
|
||||
"align": {
|
||||
"name": "Align",
|
||||
"type": "string",
|
||||
@ -277,7 +283,7 @@ var et2_baseWidget = (function(){ "use strict"; return et2_DOMWidget.extend(et2_
|
||||
|
||||
if (_value && _value != '')
|
||||
{
|
||||
this.egw().tooltipBind(elem, _value);
|
||||
this.egw().tooltipBind(elem, _value, this.options.statustext_html);
|
||||
this._tooltipElem = elem;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user