mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 07:09:20 +01:00
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
|
||||
*/
|
||||
var et2_box = et2_baseWidget.extend({
|
||||
var et2_box = et2_baseWidget.extend([et2_IDetachedDOM], {
|
||||
|
||||
createNamespace: true,
|
||||
|
||||
@ -32,7 +32,25 @@ var et2_box = et2_baseWidget.extend({
|
||||
.addClass("et2_box_widget");
|
||||
|
||||
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