Ticket #151 (closed defect: fixed)

Opened 8 years ago

Last modified 8 years ago

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

Changed 8 years ago by niko

doesn't change much imho...

Changed 8 years ago by gogo

  • status changed from new to closed
  • resolution set to fixed

small but sweet, applied in changeset:118

Note: See TracTickets for help on using tickets.