Changes input type of IntegerOptionType from text to number
authorMatthias Schmidt <gravatronics@live.com>
Mon, 24 Dec 2012 12:57:16 +0000 (13:57 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Mon, 24 Dec 2012 12:57:16 +0000 (13:57 +0100)
wcfsetup/install/files/lib/system/option/IntegerOptionType.class.php

index 90203161633caa6cf55f65c3f6e67c37c5864c4a..8250c2f23e19e52c9c520023b6e754e1eecf7138 100644 (file)
@@ -13,6 +13,11 @@ use wcf\data\option\Option;
  * @category   Community Framework
  */
 class IntegerOptionType extends TextOptionType {
+       /**
+        * @see wcf\system\option\TextOptionType::$inputType
+        */
+       protected $inputType = 'number';
+       
        /**
         * @see wcf\system\option\IOptionType::getData()
         */