use new form element syntax

This commit is contained in:
rolux 2011-12-21 21:04:28 +05:30
commit e965ae21c2
15 changed files with 123 additions and 126 deletions

View file

@ -83,7 +83,7 @@ pandora.ui.contactForm = function() {
.bindEvent({
change: function(data) {
$receiptCheckbox.options({
title: data.checked
title: data.value
? 'Send a receipt to ' + pandora.user.email
: 'Don\'t send me a receipt'
});