Opened 13 years ago

Closed 13 years ago

#151 closed defect (fixed)

HTMLArea.replace a little bit smaller

Reported by: gocher / udo.schmal@… Owned by: gogo
Priority: normal Milestone:
Component: Xinha Core Version:
Severity: normal Keywords: a little bit smaller code
Cc:

Description

/** Helper function: replaces the TEXTAREA with the given ID with HTMLArea. */
HTMLArea.replace = function(id, config){
	var ta = HTMLArea.getElementById("textarea", id);
	return ta ? (new HTMLArea(ta, config)).generate() : null;
};

Change History (2)

comment:1 Changed 13 years ago by niko

doesn't change much imho...

comment:2 Changed 13 years ago by gogo

  • Resolution set to fixed
  • Status changed from new to closed

small but sweet, applied in changeset:118

Note: See TracTickets for help on using tickets.