X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FUF%2FForm%2FField.php;h=5b0c433a781ccc1bab69f472baba9d2c76a22b3d;hb=f20d2b0dd9d7af4a28fc87a13a0dc6f41e466f90;hp=24956da6248d1da084cc6d7d1220832b71aaf345;hpb=c9baa85a27f776bc2b49bc5d38611f537cf19f30;p=civicrm-core.git diff --git a/CRM/UF/Form/Field.php b/CRM/UF/Form/Field.php index 24956da624..5b0c433a78 100644 --- a/CRM/UF/Form/Field.php +++ b/CRM/UF/Form/Field.php @@ -3,7 +3,7 @@ +--------------------------------------------------------------------+ | CiviCRM version 5 | +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2018 | + | Copyright CiviCRM LLC (c) 2004-2019 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | @@ -28,7 +28,7 @@ /** * * @package CRM - * @copyright CiviCRM LLC (c) 2004-2018 + * @copyright CiviCRM LLC (c) 2004-2019 */ /** @@ -439,7 +439,7 @@ class CRM_UF_Form_Field extends CRM_Core_Form { $attributes = CRM_Core_DAO::getAttribute('CRM_Core_DAO_UFField'); // weight - $this->add('text', 'weight', ts('Order'), $attributes['weight'], TRUE); + $this->add('number', 'weight', ts('Order'), $attributes['weight'], TRUE); $this->addRule('weight', ts('is a numeric field'), 'numeric'); $this->add('textarea', 'help_pre', ts('Field Pre Help'), $attributes['help_pre']);