Changeset 1139


Ignore:
Timestamp:
11/29/08 17:02:03 (10 years ago)
Author:
ray
Message:

#1345 add a static function that saves the contents of all Xinhas to their respective textareas

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XinhaCore.js

    r1137 r1139  
    51885188  this.setHTML(this.inwardHtml(html)); 
    51895189}; 
    5190  
     5190/** Saves the contents of all Xinhas to their respective textareas 
     5191 *  @public  
     5192 */ 
     5193Xinha.updateTextareas = function() 
     5194{ 
     5195  var e; 
     5196  for (var i=0;i<__xinhas.length;i++) 
     5197  { 
     5198    e = __xinhas[i]; 
     5199    e._textArea.value = e.getEditorContent(); 
     5200  } 
     5201} 
    51915202/** Get the raw edited HTML, should not be used without Xinha.prototype.outwardHtml() 
    51925203 *   
Note: See TracChangeset for help on using the changeset viewer.