r1470 - branches/bxe_2_0/js
| Newsgroups | gmane.editors.bitflux.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: chregu
Date: Sun May 14 22:10:09 2006
New Revision: 1470
Modified:
branches/bxe_2_0/js/table.js
Log:
fix copying of attributes when appending col
Modified: branches/bxe_2_0/js/table.js
==============================================================================
--- branches/bxe_2_0/js/table.js (original)
+++ branches/bxe_2_0/js/table.js Sun May 14 22:10:09 2006
@@ -1030,6 +1030,12 @@
} else {
var rowNode = bxe_config.doc.createElementNS(rowInfo.namespaceURI, rowInfo.localName);
}
+ if (matrix[r][1][1].parentNode) {
+ var _attr = matrix[r][1][1].parentNode.attributes;
+ for (var a = 0; a < _attr.length; a++) {
+ rowNode.setAttributeNS(_attr[a].namespaceURI, _attr[a].localName,_attr[a].value);
+ }
+ }
//BX_node_insertID(rowNode);
tbody.appendChild(rowNode);
for(var c = 1; c <= matrix[0][0][1]; c++) {
--
Bx-editor-cvs mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-cvs