rem: var n = parseInt("" + td.rowSpan); var nc = parseInt("" + td.colSpan); td.rowSpan = 1; tr = td.parentNode; var itr = tr.rowIndex; var trs = tr.parentNode.rows; var index = td.cellIndex; while (--n > 0) { tr = trs[++itr]; var otd = editor._doc.createElement("td"); otd.colSpan = td.colSpan; otd.innerHTML = mozbr; tr.insertBefore(otd, tr.cells[index]); } editor.forceRedraw(); editor.updateToolbar(); }; 
add: var n = parseInt("" + td.rowSpan); var nc = parseInt("" + td.colSpan); td.rowSpan = 1; tr = td.parentNode; var itr = tr.rowIndex; var trs = tr.parentNode.rows; var index = td.cellIndex; while (--n > 0) { tr = trs[++itr]; var otd = editor._doc.createElement("td"); otd.colSpan = td.colSpan; otd.innerHTML = mozbr; tr.insertBefore(otd, tr.cells[index]); } editor.forceRedraw(); editor.updateToolbar(); }; 
context: 	function splitRow(td) {		var n = parseInt("" + td.rowSpan);		var nc = parseInt("" + td.colSpan);		td.rowSpan = 1;		tr = td.parentNode;		var itr = tr.rowIndex;		var trs = tr.parentNode.rows;		var index = td.cellIndex;		while (--n > 0) {			tr = trs[++itr];			var otd = editor._doc.createElement("td");			otd.colSpan = td.colSpan;			otd.innerHTML = mozbr;			tr.insertBefore(otd, tr.cells[index]);		}		editor.forceRedraw();		editor.updateToolbar();	};
meta: 2641	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2641/b95cfe0a8ebbc3a21a218afd124442c6ec979137/table-operations.js/clean/lib/editor/plugins/TableOperations/table-operations.js