Commit 5d09a4fe authored by Rafael Ostertag's avatar Rafael Ostertag
Browse files

Fixed test whether or not tinyMCE is available.

parent ff1d9658
......@@ -27,7 +27,7 @@ QfqNS.Helper = QfqNS.Helper || {};
* @name QfqNS.Helper.jqxEditor
*/
var tinyMce = function () {
if (!tinymce) {
if (typeof tinymce === 'undefined') {
return;
}
......@@ -68,7 +68,7 @@ QfqNS.Helper = QfqNS.Helper || {};
};
tinyMce.prepareSave = function () {
if (!tinymce) {
if (typeof tinymce === 'undefined') {
return;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment