Fixed a bug in the print_textarea method of weblib.mdl19-tinymce3
commite476cd05ba7213ed23ac2d536c06d9c224bf4888
authorMihai Sucan <mihai.sucan@gmail.com>
Fri, 30 Oct 2009 11:56:26 +0000 (30 13:56 +0200)
committerMihai Sucan <mihai.sucan@gmail.com>
Mon, 16 Nov 2009 17:03:43 +0000 (16 19:03 +0200)
treeb811bff919abaf61e7b5e7167289313d0d469aa5
parent5fa095a768d1be019cac309963e80cd2e1f944b4
Fixed a bug in the print_textarea method of weblib.

The inlined script invoked the JS function mce_saveOnSubmit() irrespective of
its existance. This caused a JS error when $CFG->defaulthtmleditor was empty or
unset, because the mentioned function was undefined.
lib/weblib.php