diff --git a/modules/editor/skins/xquared/editor.html b/modules/editor/skins/xquared/editor.html index 833d7d85a..ad0c4f2e8 100644 --- a/modules/editor/skins/xquared/editor.html +++ b/modules/editor/skins/xquared/editor.html @@ -64,7 +64,7 @@ var zbxe_session_name = "{session_name()}"; var uploader_setting = { "allowed_filesize" : "{$file_config->allowed_filesize}", "allowed_filetypes" : "{$file_config->allowed_filetypes}", "allowed_filetypes_description" : "{$file_config->allowed_filetypes}" } - editor_upload_init("{$editor_sequence}", editorGetForm_xq($("xqEditor_{$editor_sequence}"))); + editor_upload_init("{$editor_sequence}", editorGetForm_xq(document.getElementById("xqEditor_{$editor_sequence}"))); //]]>