rem: var content = $('form_content'); 
add: var content = $('form_text'); 
context: function WikiEdit_Preview() {    var container = $('wiki_preview');    var toolbar = $('wiki_preview_toolbar');    var content = $('form_content');    var page_name = $('form_page_name');    if (!container || !content) return;    // visual clue to indicate that preview is loading    container.innerHTML = '<div class="loading"> <img src="' + BASE_HREF + 'static/images/indicator.gif" />Se incarca ...</div>';    container.style.display = '';    // request preview    var d = doXHR(BASE_HREF + 'json/wiki-preview?page_name=' + escape(page_name.value), {method: 'POST', sendContent: content.value});    var ready = function(xhr) {        var data = evalJSONRequest(xhr);        container.innerHTML = data['html'];        container.style.display = '';        toolbar.style.display = '';    }    var error = function(error) {        window.alert('Eroare! Nu pot face preview. Incearcati din nou.');        WikiEdit_ClosePreview();    }    d.addCallbacks(ready, error);}
meta: 5756	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5756/13ac89123ff14420d19c7f228ebd797200a52e69/wikiedit.js/buggy/infoarena2/www/static/js/wikiedit.js