rem: if (confirm(i18n["Please confirm that you want to remove this element:"] + " " + currentTarget.tagName)) { var el = currentTarget; var p = el.parentNode; p.removeChild(el); if (HTMLArea.is_gecko) { if (p.tagName.toLowerCase() == "td" && !p.hasChildNodes()) p.appendChild(editor._doc.createElement("br")); editor.forceRedraw(); editor.focusEditor(); editor.updateToolbar(); if (table) { var save_collapse = table.style.borderCollapse; table.style.borderCollapse = "collapse"; table.style.borderCollapse = "separate"; table.style.borderCollapse = save_collapse; } 
add: if (confirm(i18n["Please confirm that you want to remove this element:"] + " " + currentTarget.tagName)) { var el = currentTarget; var p = el.parentNode; p.removeChild(el); if (HTMLArea.is_gecko) { if (p.tagName.toLowerCase() == "td" && !p.hasChildNodes()) p.appendChild(editor._doc.createElement("br")); editor.forceRedraw(); editor.focusEditor(); editor.updateToolbar(); if (table) { var save_collapse = table.style.borderCollapse; table.style.borderCollapse = "collapse"; table.style.borderCollapse = "separate"; table.style.borderCollapse = save_collapse; 
context: 			    function() {				    if (confirm(i18n["Please confirm that you want to remove this element:"] + " " +						currentTarget.tagName)) {					    var el = currentTarget;					    var p = el.parentNode;					    p.removeChild(el);					    if (HTMLArea.is_gecko) {						    if (p.tagName.toLowerCase() == "td" && !p.hasChildNodes())							    p.appendChild(editor._doc.createElement("br"));						    editor.forceRedraw();						    editor.focusEditor();						    editor.updateToolbar();						    if (table) {							    var save_collapse = table.style.borderCollapse;							    table.style.borderCollapse = "collapse";							    table.style.borderCollapse = "separate";							    table.style.borderCollapse = save_collapse;						    }					    }				    }			    },
meta: 7119	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/7119/4d968a51f578e3361a382d6fa8372e519c47ba55/context-menu.js/clean/phpgwapi/js/htmlarea/plugins/ContextMenu/context-menu.js