forked from extern/egroupware
Add widget's class to td for backward compatability
This commit is contained in:
parent
e2b13e3821
commit
b1d4ec546c
@ -320,6 +320,12 @@ var et2_grid = et2_DOMWidget.extend([et2_IDetachedDOM], {
|
||||
cell.align = node.getAttribute("align");
|
||||
}
|
||||
|
||||
// Apply widget's class to td, for backward compatability
|
||||
if(node.getAttribute("class"))
|
||||
{
|
||||
cell.class += (cell.class ? " " : "") + node.getAttribute("class");
|
||||
}
|
||||
|
||||
// Create the element
|
||||
var widget = this.createElementFromNode(node, nodeName);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user