From: Coleman Watts Date: Fri, 1 May 2015 19:13:11 +0000 (-0400) Subject: Code style fix X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=9c6321289140f60fde87b3ed812f41fead758249;p=civicrm-core.git Code style fix --- diff --git a/templates/CRM/Case/Form/CaseView.js b/templates/CRM/Case/Form/CaseView.js index efbf380165..e72caed22f 100644 --- a/templates/CRM/Case/Form/CaseView.js +++ b/templates/CRM/Case/Form/CaseView.js @@ -214,7 +214,7 @@ 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() {