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: {
checked: function() {
return $.getValue(this.name, this.checked);
return $.setValue(this.name, this.checked);
},
value: function() {
return $.setValue(this.name, this.value);

View File

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