rem: if (this.cellSpacing != "" || this.cellSpacing == 0) out += '" cellspacing="' + this.cellSpacing + '"'; if (this.cellPadding != "" || this.cellPadding == 0) out += '" cellpadding="' + this.cellPadding + '"'; 
add: if (!isNaN(this.cellSpacing)) out += '" cellspacing="' + this.cellSpacing + '"'; if (!isNaN(this.cellPadding)) out += '" cellpadding="' + this.cellPadding + '"'; 
context: 	this.Export = function()	{		var out = '<table id="' + this.id +'"';		if (this.cellSpacing != "" || this.cellSpacing == 0) out += '" cellspacing="' + this.cellSpacing + '"';		if (this.cellPadding != "" || this.cellPadding == 0) out += '" cellpadding="' + this.cellPadding + '"';		if (this.className != null) out += ' class="' + this.className + '"';		if (this.htmlwidth != "") out += ' width=' + this.htmlwidth;		if (this.htmlborder != null) out += ' border=' + this.htmlborder;		out += ' style="width:' + this.width + ';' + this.style + ';';		if (this.borderColor != null) out += 'border-color:' + this.borderColor + ';';		if (this.borderStyle != null) out += 'border-style:' + this.borderStyle + ';';		if (this.border != null) out += 'border-width:' + this.border + ';';		out += 'background: ' + this.bg + ';"';		if (this.summary != null && this.summary != "") out += ' summary="' + this.summary + '"';		if (this.frame != "") out += ' frame="' + this.frame + '"';		if (this.rules != "") out += ' rules="' + this.rules + '"';		out += this.extra + '>';		if (this.caption != null) out += '<caption>' + this.caption + '</caption>';		for (r = 0;r<this.rows;r++) {			var row_code = this.matrix[r].Export();			//Below condition determines if we have two theads in a row, meaning they should be grouped together			if ((row_code.substring(0, 7) == '<THEAD>') && (out.substring(out.length - 8) == '</THEAD>')) {				out = out.substring(0, out.length - 8); //strip out end of last thead				row_code = row_code.substring(7);		//strip out start of new one.			}			out += row_code;		}		out += '</table>';		return out;	}
meta: 5635	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5635/986d8d479daa00f3061a3973931260d88a774ae4/table-editor.js/clean/fudge/wysiwyg/plugins/table_editing/table-editor.js