forked from extern/egroupware
Fix disabled grid rows still being created.
While not ideal (prevents modification / un-disabling after), this prevents some problems with doubled IDs
This commit is contained in:
parent
bcbc42135d
commit
80ae80098e
@ -343,7 +343,10 @@ var et2_grid = et2_DOMWidget.extend([et2_IDetachedDOM, et2_IAligned],
|
||||
}
|
||||
|
||||
// Create the element
|
||||
var widget = this.createElementFromNode(node, nodeName);
|
||||
if(!cell.disabled)
|
||||
{
|
||||
var widget = this.createElementFromNode(node, nodeName);
|
||||
}
|
||||
|
||||
// Fill all cells the widget is spanning
|
||||
for (var i = 0; i < span && x < cells[y].length; i++, x++)
|
||||
|
Loading…
Reference in New Issue
Block a user