From: Coleman Watts Date: Sun, 7 Sep 2014 20:50:16 +0000 (-0400) Subject: 'huge-dialog' size is unnecessary now that height auto-adjusts X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=3b495cf9956b7b451b73e90290413c150b3d9f60;p=civicrm-core.git 'huge-dialog' size is unnecessary now that height auto-adjusts --- diff --git a/CRM/Contact/BAO/Contact.php b/CRM/Contact/BAO/Contact.php index 2f93f8eb08..dcc9fb0856 100644 --- a/CRM/Contact/BAO/Contact.php +++ b/CRM/Contact/BAO/Contact.php @@ -2812,7 +2812,6 @@ AND civicrm_openid.is_primary = 1"; 'title' => ts('Add Contribution'), 'weight' => 5, 'ref' => 'new-contribution', - 'class' => 'huge-popup', 'key' => 'contribution', 'tab' => 'contribute', 'component' => 'CiviContribute', @@ -2828,7 +2827,6 @@ AND civicrm_openid.is_primary = 1"; 'title' => ts('Register for Event'), 'weight' => 10, 'ref' => 'new-participant', - 'class' => 'huge-popup', 'key' => 'participant', 'tab' => 'participant', 'component' => 'CiviEvent', @@ -2864,7 +2862,6 @@ AND civicrm_openid.is_primary = 1"; 'title' => ts('Add Membership'), 'weight' => 20, 'ref' => 'new-membership', - 'class' => 'huge-popup', 'key' => 'membership', 'tab' => 'member', 'component' => 'CiviMember', diff --git a/js/crm.ajax.js b/js/crm.ajax.js index 92fa70283e..d5ddcf153b 100644 --- a/js/crm.ajax.js +++ b/js/crm.ajax.js @@ -508,9 +508,6 @@ else if ($el.hasClass('medium-popup')) { settings.dialog.width = settings.dialog.height = '50%'; } - else if ($el.hasClass('huge-popup')) { - settings.dialog.height = '90%'; - } var dialog = popup(url, settings); // Trigger events from the dialog on the original link element $el.trigger('crmPopupOpen', [dialog]);