1
0
Fork 0
forked from 0x2620/oxjs

fix text list so that it doesn't throw errors in its value function

This commit is contained in:
rlx 2011-11-07 12:15:10 +00:00
commit 12622724ee
5 changed files with 9 additions and 6 deletions

View file

@ -23,6 +23,8 @@ Ox.Form = function(options, self) {
error: '',
id: '',
items: [],
// FIXME: don't pass function,
// listen to event instead!
submit: null
})
.options(options || {}) // fixme: the || {} can be done once, in the options function