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:
Ralf Becker
2016-03-31 13:05:03 +00:00
parent df2791ab63
commit ac6b0e9a94
5 changed files with 13 additions and 2 deletions

View File

@ -2873,8 +2873,10 @@ var et2_nextmatch_header = (function(){ "use strict"; return et2_baseWidget.exte
this.label = _value;
this.labelNode.text(_value);
// add class if label is empty
this.labelNode.toggleClass('et2_label_empty', !_value);
}
});}).call(this);
et2_register_widget(et2_nextmatch_header, ['nextmatch-header']);