2
0
forked from Wavyzz/dolibarr

Fix: debug ckeditor and VAT

This commit is contained in:
Regis Houssin
2012-08-27 13:27:27 +02:00
parent 35a0311d28
commit 2f14fbe791
4 changed files with 80 additions and 91 deletions

View File

@@ -136,7 +136,7 @@ function ajax_autocompleter($selected, $htmlname, $url, $urloption='', $minLengt
}
if (ui.item.textarea) {
$.each(ui.item.textarea, function(key, value) {
if (typeof CKEDITOR == "object") {
if (typeof CKEDITOR == "object" && typeof CKEDITOR.instances != "undefined") {
CKEDITOR.instances[key].setData(value);
CKEDITOR.instances[key].focus();
} else {