fix $.cb.checked

This commit is contained in:
James Campos 2011-04-18 17:47:38 -07:00
parent 8a7d1999a7
commit aa723fe827
2 changed files with 2 additions and 2 deletions

View File

@ -245,7 +245,7 @@
}, },
cb: { cb: {
checked: function() { checked: function() {
return $.getValue(this.name, this.checked); return $.setValue(this.name, this.checked);
}, },
value: function() { value: function() {
return $.setValue(this.name, this.value); return $.setValue(this.name, this.value);

View File

@ -150,7 +150,7 @@ $.extend $,
r r
cb: cb:
checked: -> checked: ->
$.getValue @name, @checked $.setValue @name, @checked
value: -> value: ->
$.setValue @name, @value $.setValue @name, @value
deleteValue: (name) -> deleteValue: (name) ->