Number widget takes numbers (not text)

This commit is contained in:
Nathan Gray 2012-03-21 21:30:05 +00:00
parent 8bc924699f
commit 1348994de8

View File

@ -22,6 +22,9 @@
var et2_number = et2_textbox.extend({ var et2_number = et2_textbox.extend({
attributes: { attributes: {
"value": {
"type": "float"
},
// Override default width, numbers are usually shorter // Override default width, numbers are usually shorter
"size": { "size": {
"default": 5 "default": 5