From: Coleman Watts Date: Mon, 23 Mar 2015 19:53:27 +0000 (-0400) Subject: CRM-16163 - Set dialog height of 'new contact' popup X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=1a80f85400528c1c8b744164a4f8f4a85677522f;p=civicrm-core.git CRM-16163 - Set dialog height of 'new contact' popup --- diff --git a/js/Common.js b/js/Common.js index a4bafbe12e..5937ac41e4 100644 --- a/js/Common.js +++ b/js/Common.js @@ -390,7 +390,7 @@ CRM.strings = CRM.strings || {}; $('#select2-drop').off('.crmEntity').on('click.crmEntity', 'a.crm-add-entity', function(e) { $el.select2('close'); CRM.loadForm($(this).attr('href'), { - dialog: {width: 500, height: 'auto'} + dialog: {width: 500, height: 220} }).on('crmFormSuccess', function(e, data) { if (data.status === 'success' && data.id) { CRM.status(ts('%1 Created', {1: data.label}));