mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-09 00:14:57 +02:00
implement et2_label_empty class for all set_label methods and remove no longer necessary label.et2_label > input[type="checkbox"], as it is covered by the standard case
This commit is contained in:
@ -354,6 +354,9 @@ var et2_textbox_ro = (function(){ "use strict"; return et2_valueWidget.extend([e
|
||||
this.span.prepend(parts[0]);
|
||||
this.span.append(parts[1]);
|
||||
this.label = label;
|
||||
|
||||
// add class if label is empty
|
||||
this.span.toggleClass('et2_label_empty', !label || !parts[0]);
|
||||
},
|
||||
set_value: function(_value)
|
||||
{
|
||||
|
Reference in New Issue
Block a user