use 'value', not 'checked'

This commit is contained in:
rolux 2011-12-23 00:00:03 +05:30
commit cd610436db
7 changed files with 18 additions and 17 deletions

View file

@ -72,9 +72,9 @@ pandora.ui.contactForm = function() {
.appendTo(that),
$receiptCheckbox = Ox.Checkbox({
checked: pandora.user.level != 'guest',
id: 'receipt',
title: 'Send a receipt to ' + pandora.user.email,
value: pandora.user.level != 'guest',
width: width - 136
})
.css({float: 'left', margin: '8px 4px 8px 0'})