'huge-dialog' size is unnecessary now that height auto-adjusts
authorColeman Watts <coleman@civicrm.org>
Sun, 7 Sep 2014 20:50:16 +0000 (16:50 -0400)
committerColeman Watts <coleman@civicrm.org>
Sun, 7 Sep 2014 20:50:16 +0000 (16:50 -0400)
CRM/Contact/BAO/Contact.php
js/crm.ajax.js

index 2f93f8eb08966a3790e98e4b9cfd793bc7a5ab11..dcc9fb0856013ce289296a88c467ce65168c8636 100644 (file)
@@ -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',
index 92fa70283ea0534c294dcd6eb357281a2b4eb74e..d5ddcf153b004456b7ff8fec3208d60f665b4042 100644 (file)
     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]);