forked from extern/egroupware
Vaccuously implement Detachable interface for box/vbox - solves some missing node warnings.
This commit is contained in:
parent
3bc0bdfd35
commit
5e12553f71
@ -20,7 +20,7 @@
|
|||||||
/**
|
/**
|
||||||
* Class which implements the hbox and vbox tag
|
* Class which implements the hbox and vbox tag
|
||||||
*/
|
*/
|
||||||
var et2_box = et2_baseWidget.extend({
|
var et2_box = et2_baseWidget.extend([et2_IDetachedDOM], {
|
||||||
|
|
||||||
createNamespace: true,
|
createNamespace: true,
|
||||||
|
|
||||||
@ -32,7 +32,25 @@ var et2_box = et2_baseWidget.extend({
|
|||||||
.addClass("et2_box_widget");
|
.addClass("et2_box_widget");
|
||||||
|
|
||||||
this.setDOMNode(this.div[0]);
|
this.setDOMNode(this.div[0]);
|
||||||
}
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Code for implementing et2_IDetachedDOM
|
||||||
|
* This doesn't need to be implemented.
|
||||||
|
* Individual widgets are detected and handled by the grid, but the interface is needed for this to happen
|
||||||
|
*/
|
||||||
|
getDetachedAttributes: function(_attrs)
|
||||||
|
{
|
||||||
|
},
|
||||||
|
|
||||||
|
getDetachedNodes: function()
|
||||||
|
{
|
||||||
|
return [];
|
||||||
|
},
|
||||||
|
|
||||||
|
setDetachedAttributes: function(_nodes, _values)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user