rem: + wym._options.sSubmitSelector).click(function() {  var iRows = $j(wym._options.sRowsSelector).val(); var iCols = $j(wym._options.sColsSelector).val();  if(iRows > 0 && iCols > 0) {  var table = wym._doc.createElement(sWYM_TABLE); var newRow = null; var newCol = null;  var sCaption = $j(wym._options.sCaptionSelector).val();   var newCaption = table.createCaption(); newCaption.innerHTML = sCaption;   for(x=0; x<iRows; x++) { newRow = table.insertRow(x); for(y=0; y<iCols; y++) {newRow.insertCell(y);} }  if(oSel) $j(oSel).after(table); } 
add: $j(wym._options.sCancelSelector).mousedown(function() { 
context:         + wym._options.sSubmitSelector).click(function() {                var iRows = $j(wym._options.sRowsSelector).val();        var iCols = $j(wym._options.sColsSelector).val();                if(iRows > 0 && iCols > 0) {                    var table = wym._doc.createElement(sWYM_TABLE);            var newRow = null;        		var newCol = null;        		        		var sCaption = $j(wym._options.sCaptionSelector).val();        		        		//we create the caption        		var newCaption = table.createCaption();        		newCaption.innerHTML = sCaption;        		        		//we create the rows and cells        		for(x=0; x<iRows; x++) {        			newRow = table.insertRow(x);        			for(y=0; y<iCols; y++) {newRow.insertCell(y);}        		}                        if(oSel) $j(oSel).after(table);        }        window.close();    });
meta: 5576	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5576/8849d7a1a88bfc35293fad305282270d7d115c93/jquery.wymeditor.js/clean/src/wymeditor/jquery.wymeditor.js