Js lint fix
authorColeman Watts <coleman@civicrm.org>
Sat, 4 Apr 2015 02:07:54 +0000 (22:07 -0400)
committerColeman Watts <coleman@civicrm.org>
Sat, 4 Apr 2015 02:07:54 +0000 (22:07 -0400)
templates/CRM/Contact/Page/View/Summary.js

index 6021ee449cda4d0b799e7fe709c613f61de86134..960ec099c1f68c2b351818661c62465c388cffc2 100644 (file)
@@ -11,7 +11,7 @@
       // Copied from crm.ajax.js
       if (window.CKEDITOR && window.CKEDITOR.instances) {
         $.each(CKEDITOR.instances, function() {
-          this.updateElement && this.updateElement();
+          if (this.updateElement) this.updateElement();
         });
       }
       if (window.tinyMCE && tinyMCE.editors) {