*/
public $_id = NULL;
+ /**
+ * @var bool
+ */
+ public $submitOnce = TRUE;
+
/**
* Build the form object.
*/
['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();"]
);