From: Coleman Watts Date: Fri, 15 Aug 2014 17:39:38 +0000 (+0100) Subject: JS cleanup X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=87703a055a799ff86449af2d24bf21e7f462b5ce;p=civicrm-core.git JS cleanup --- diff --git a/templates/CRM/Group/Form/Search.tpl b/templates/CRM/Group/Form/Search.tpl index d366446b16..43e8c6bec5 100644 --- a/templates/CRM/Group/Form/Search.tpl +++ b/templates/CRM/Group/Form/Search.tpl @@ -107,8 +107,8 @@ CRM.$(function($) { .on('click', 'a.button, a.action-item[href*="action=update"], a.action-item[href*="action=delete"]', CRM.popup) .on('crmPopupFormSuccess', 'a.button, a.action-item[href*="action=update"], a.action-item[href*="action=delete"]', function() { // Refresh datatable when form completes - var $context = $('#crm-main-content-wrapper'); - $('table.crm-group-selector',$context ).dataTable().fnDraw(); + var $context = $('#crm-main-content-wrapper'); + $('table.crm-group-selector', $context).dataTable().fnDraw(); }); function buildGroupSelector( filterSearch, parentsOnlyArg ) { @@ -297,9 +297,9 @@ CRM.$(function($) { appendHTML += '' + (val.group_description || '') + ""; appendHTML += "" + val.group_type + ""; appendHTML += "" + val.visibility + ""; - if (showOrgInfo) { - appendHTML += "" + val.org_info + ""; - } + if (showOrgInfo) { + appendHTML += "" + val.org_info + ""; + } appendHTML += "" + val.links + ""; appendHTML += ""; });