Ticket #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
Note: See
TracTickets for help on using
tickets.
