mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:50 +01:00
Fix deleteDOMNode() -> removeDOMNode(), fixes labels for selectboxes, probably others
This commit is contained in:
parent
a09c277ae7
commit
ea406d3e85
@ -193,7 +193,7 @@ var et2_inputWidget = et2_valueWidget.extend(et2_IInput, {
|
||||
// Delete the labelContainer from the surroundings object
|
||||
if (this._labelContainer)
|
||||
{
|
||||
this.getSurroundings().deleteDOMNode(this._labelContainer[0]);
|
||||
this.getSurroundings().removeDOMNode(this._labelContainer[0]);
|
||||
}
|
||||
this._labelContainer = null;
|
||||
}
|
||||
|
@ -107,9 +107,9 @@ var et2_url = et2_textbox.extend({
|
||||
else
|
||||
{
|
||||
if(this._button) this._button.hide();
|
||||
if(this._button && this.getSurroundings && this.getSurroundings().deleteDOMNode)
|
||||
if(this._button && this.getSurroundings && this.getSurroundings().removeDOMNode)
|
||||
{
|
||||
this.getSurroundings().deleteDOMNode(this._button[0]);
|
||||
this.getSurroundings().removeDOMNode(this._button[0]);
|
||||
}
|
||||
this._button = null;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user