1
0
Fork 0
forked from 0x2620/oxjs

workaround for select values not getting updated correctly when updating form values

This commit is contained in:
rlx 2011-10-11 11:22:16 +00:00
commit f43122f795
4 changed files with 39 additions and 24 deletions

View file

@ -138,6 +138,7 @@ Ox.Form = function(options, self) {
//Ox.print('VALUES', values)
return values;
} else {
Ox.print('SET FORM VALUES', arguments[0])
Ox.forEach(arguments[0], function(value, key) {
var index = getItemIndexById(key);
//index > -1 && Ox.print(':::::::', key, value)