CIVICRM-1846 Find Activities Search, default search option for Activity Text is set...
[civicrm-core.git] / CRM / Admin / Form / PdfFormats.php
index 0ec9042d5839da110292f952ef27294fc05baaca..87d2970f2e853966f8d6af614cc27f3b9bf87eda 100644 (file)
@@ -43,6 +43,11 @@ class CRM_Admin_Form_PdfFormats extends CRM_Admin_Form {
    */
   public $_id = NULL;
 
+  /**
+   * @var bool
+   */
+  public $submitOnce = TRUE;
+
   /**
    * Build the form object.
    */
@@ -67,7 +72,7 @@ class CRM_Admin_Form_PdfFormats extends CRM_Admin_Form {
       ['onChange' => "selectPaper( this.value );"]
     );
 
-    $this->add('static', 'paper_dimensions', NULL, ts('Width x Height'));
+    $this->add('static', 'paper_dimensions', ts('Width x Height'));
     $this->add('select', 'orientation', ts('Orientation'), CRM_Core_BAO_PdfFormat::getPageOrientations(), FALSE,
       ['onChange' => "updatePaperDimensions();"]
     );