mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
Surpress labels on entry-templates
This commit is contained in:
parent
f9e28d24e8
commit
2b1a897718
@ -113,6 +113,12 @@ var et2_entry = et2_valueWidget.extend(
|
||||
type: entry.type || 'label',
|
||||
readonly: this.options.readonly
|
||||
};
|
||||
// Supress labels on templates
|
||||
if(attrs.type == 'template' && this.options.label)
|
||||
{
|
||||
this.egw().debug('log', "Surpressed label on <" + this._type + ' label="' + this.options.label + '" id="' + this.id + '"...>');
|
||||
this.options.label = '';
|
||||
}
|
||||
var widget = et2_createWidget(attrs.type, attrs, this);
|
||||
|
||||
// If value is not set, etemplate takes care of everything
|
||||
|
Loading…
Reference in New Issue
Block a user