liveSave for oneform editor added
As requested by Mario (but it was actually on the TODO list before), I implemented a "LiveSave" feature for the oneform editor or in other words Save-Without-Reloading.
If you edited documents (like xsl or css files) in the oneform editor, every-time you clicked (or hit alt/ctrl-s) submit, the page was reloaded, the cursor position lost and it showed you again the top of the file. Pretty annoying, especially with long documents. Not anymore :) We use now XMLHTTPRequest in the background for doing the save, which prevents the needed reload. Works on Win/IE, Mozilla/Firefox and Safari.
It's not bulletproof right now, if the save didn't work, you won't be notified, it still says most of the time "Document saved." :) Will try to fix that later. (But if the file is not writable, which is the most common "error", it will warn you on opening the editor.)
Update: The oneform editor now also checks for well-formedness of XML and HTML documents. This will prevent saving non-valid documents and producing errors. Tested on Firefox, does not work on Safari (but liveSave in principle still works, just not the well-formed-check), not tested on IE (but IIRC should work there as well).
