rem: alert("WARNING [HTMLArea.Config::registerDropdown]:\nA dropdown with the same ID already exists."); 
context: HTMLArea.Config.prototype.registerButton = function(id, tooltip, image, textMode, action, context) {	var the_id;	if (typeof id == "string") {		the_id = id;	} else if (typeof id == "object") {		the_id = id.id;	} else {		alert("ERROR [HTMLArea.Config::registerButton]:\ninvalid arguments");		return false;	}	// check for existing id	if (typeof this.customSelects[the_id] != "undefined") {		alert("WARNING [HTMLArea.Config::registerDropdown]:\nA dropdown with the same ID already exists.");	}	if (typeof this.btnList[the_id] != "undefined") {		alert("WARNING [HTMLArea.Config::registerDropdown]:\nA button with the same ID already exists.");	}	switch (typeof id) {	    case "string": this.btnList[id] = [ tooltip, image, textMode, action, context ]; break;	    case "object": this.btnList[id.id] = [ id.tooltip, id.image, id.textMode, id.action, id.context ]; break;	}};
meta: 7119	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/7119/25a8b4ec79bdd65c7e50216b7ea058ea682797c5/htmlarea.js/clean/phpgwapi/js/htmlarea/htmlarea.js