Index: openacs-4/packages/acs-templating/www/resources/xinha-nightly/htmlarea.js =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/resources/xinha-nightly/htmlarea.js,v diff -u -r1.9 -r1.10 --- openacs-4/packages/acs-templating/www/resources/xinha-nightly/htmlarea.js 24 Nov 2007 15:35:28 -0000 1.9 +++ openacs-4/packages/acs-templating/www/resources/xinha-nightly/htmlarea.js 13 May 2008 18:53:44 -0000 1.10 @@ -1,23 +1,11 @@ - - /*--------------------------------------:noTabs=true:tabSize=2:indentSize=2:-- - -- COMPATABILITY FILE - -- htmlarea.js is now XinhaCore.js - -- - -- $HeadURL: http://svn.xinha.webfactional.com/trunk/htmlarea.js $ - -- $LastChangedDate: 2007-01-15 15:28:57 +0100 (Mo, 15 Jan 2007) $ - -- $LastChangedRevision: 659 $ - -- $LastChangedBy: gogo $ - --------------------------------------------------------------------------*/ - -if ( typeof _editor_url == "string" ) -{ - // Leave exactly one backslash at the end of _editor_url - _editor_url = _editor_url.replace(/\x2f*$/, '/'); +/* This compressed file is part of Xinha. For uncompressed sources, forum, and bug reports, go to xinha.org */ +/* This file is part of version 0.95 released Mon, 12 May 2008 17:33:15 +0200 */ +/* The URL of the most recent version of this file is http://svn.xinha.webfactional.com/trunk/htmlarea.js */ +if(typeof _editor_url=="string"){ +_editor_url=_editor_url.replace(/\x2f*$/,"/"); +}else{ +alert("WARNING: _editor_url is not set! You should set this variable to the editor files path; it should preferably be an absolute path, like in '/htmlarea/', but it can be relative if you prefer. Further we will try to load the editor files correctly but we'll probably fail."); +_editor_url=""; } -else -{ - alert("WARNING: _editor_url is not set! You should set this variable to the editor files path; it should preferably be an absolute path, like in '/htmlarea/', but it can be relative if you prefer. Further we will try to load the editor files correctly but we'll probably fail."); - _editor_url = ''; -} +document.write(""); -document.write(''); \ No newline at end of file