From 9c6321289140f60fde87b3ed812f41fead758249 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Fri, 1 May 2015 15:13:11 -0400 Subject: [PATCH] Code style fix --- templates/CRM/Case/Form/CaseView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() { -- 2.25.1