Fix progress widget inside datagrid

This commit is contained in:
Nathan Gray 2012-03-12 23:18:46 +00:00
parent f26822c302
commit 74b4fe6816

View File

@ -108,12 +108,13 @@ var et2_progress = et2_valueWidget.extend([et2_IDetachedDOM],
}, },
getDetachedNodes: function() { getDetachedNodes: function() {
return [this.node]; return [this.node, this.progress];
}, },
setDetachedAttributes: function(_nodes, _values) { setDetachedAttributes: function(_nodes, _values) {
// Set the given DOM-Nodes // Set the given DOM-Nodes
this.node = _nodes[0]; this.node = _nodes[0];
this.progress = _nodes[1];
// Set the attributes // Set the attributes
if (_values["label"]) if (_values["label"])