Skip to content
Snippets Groups Projects
Commit a5a8943f authored by Prasad's avatar Prasad
Browse files

Fixes #801: Ensure DOM node presence before loading CKEditor

parent fc3f4ebb
No related branches found
No related tags found
No related merge requests found
......@@ -846,7 +846,7 @@ jQuery.Class("Emails_MassEdit_Js",{},{
this.calculateUploadFileSize();
this.registerSaveDraftOrSendEmailEvent();
var isCkeditorApplied = jQuery('#description').data('isCkeditorApplied');
if(isCkeditorApplied != true){
if(isCkeditorApplied != true && jQuery('#description').length > 0){
this.loadCkEditor(jQuery('#description').data('isCkeditorApplied',true));
}
this.registerSelectEmailTemplateEvent();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment