projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use number wiget for weight fields in all forms
[civicrm-core.git]
/
CRM
/
Campaign
/
Form
/
Survey
/
Results.php
diff --git
a/CRM/Campaign/Form/Survey/Results.php
b/CRM/Campaign/Form/Survey/Results.php
index f041d2b5b31b461407cd308cde0d684798531163..4dd86299f718666e30ae84a7f7d07ae95f63cc0c 100644
(file)
--- a/
CRM/Campaign/Form/Survey/Results.php
+++ b/
CRM/Campaign/Form/Survey/Results.php
@@
-3,7
+3,7
@@
+--------------------------------------------------------------------+
| CiviCRM version 5 |
+--------------------------------------------------------------------+
+--------------------------------------------------------------------+
| CiviCRM version 5 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-201
8
|
+ | Copyright CiviCRM LLC (c) 2004-201
9
|
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
@@
-28,7
+28,7
@@
/**
*
* @package CRM
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-201
8
+ * @copyright CiviCRM LLC (c) 2004-201
9
*/
/**
*/
/**
@@
-165,7
+165,7
@@
class CRM_Campaign_Form_Survey_Results extends CRM_Campaign_Form_Survey {
);
// weight
);
// weight
- $this->add('
text
', "option_weight[$i]", ts('Order'),
+ $this->add('
number
', "option_weight[$i]", ts('Order'),
$optionAttributes['weight']
);
$optionAttributes['weight']
);