CRM-16163 - Set dialog height of 'new contact' popup
authorColeman Watts <coleman@civicrm.org>
Mon, 23 Mar 2015 19:53:27 +0000 (15:53 -0400)
committerColeman Watts <coleman@civicrm.org>
Mon, 23 Mar 2015 19:53:27 +0000 (15:53 -0400)
js/Common.js

index a4bafbe12e845f676fa24e2adb81fe44d8f6eb1a..5937ac41e42a7ef7071761e832e2abacb8e82c45 100644 (file)
@@ -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}));