forked from extern/egroupware
Always set label, avoids label not being set properly in nextmatch
This commit is contained in:
parent
52f269717e
commit
5c8c51c77d
@ -231,12 +231,8 @@ var et2_textbox_ro = et2_valueWidget.extend([et2_IDetachedDOM],
|
|||||||
this.setDOMNode(this.span[0]);
|
this.setDOMNode(this.span[0]);
|
||||||
},
|
},
|
||||||
|
|
||||||
set_label: function(label) {
|
set_label: function(label)
|
||||||
if(label == this.label)
|
{
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Remove current label
|
// Remove current label
|
||||||
this.span.contents()
|
this.span.contents()
|
||||||
.filter(function(){ return this.nodeType == 3; }).remove();
|
.filter(function(){ return this.nodeType == 3; }).remove();
|
||||||
@ -246,7 +242,8 @@ var et2_textbox_ro = et2_valueWidget.extend([et2_IDetachedDOM],
|
|||||||
this.span.append(parts[1]);
|
this.span.append(parts[1]);
|
||||||
this.label = label;
|
this.label = label;
|
||||||
},
|
},
|
||||||
set_value: function(_value) {
|
set_value: function(_value)
|
||||||
|
{
|
||||||
this.value = _value;
|
this.value = _value;
|
||||||
|
|
||||||
if(!_value)
|
if(!_value)
|
||||||
|
Loading…
Reference in New Issue
Block a user