Switch priceset selector to addField method
[civicrm-core.git] / CRM / Contribute / Form / ContributionPage.php
index c965e60d1ca5b127f6195d8f1e048a0bdea87bb9..f1490ee44ceefb1942d03c7d6eed51df9b2b8e00 100644 (file)
@@ -87,6 +87,13 @@ class CRM_Contribute_Form_ContributionPage extends CRM_Core_Form {
     return 'Contribution';
   }
 
+  /**
+   * Explicitly declare the form context.
+   */
+  public function getDefaultContext() {
+    return 'create';
+  }
+
   /**
    * Set variables up before form is built.
    */