Code style fix
authorColeman Watts <coleman@civicrm.org>
Fri, 1 May 2015 19:13:11 +0000 (15:13 -0400)
committerColeman Watts <coleman@civicrm.org>
Fri, 1 May 2015 19:13:11 +0000 (15:13 -0400)
templates/CRM/Case/Form/CaseView.js

index efbf38016544b03183994876170ad2c67613fed5..e72caed22f6a4d7189c255336dc638f3e8d864cc 100644 (file)
           resizable: true,
           options: {yes: ts('Save'), no: ts('Cancel')},
           open: function() {
-            miniForms[target].pre && miniForms[target].pre.call(this, $el.data());
+            if (miniForms[target].pre) miniForms[target].pre.call(this, $el.data());
           }
         })
           .on('dialogclose', function() {