use new form element syntax

This commit is contained in:
rolux 2011-12-22 12:54:30 +05:30
commit 68f9b40a80
7 changed files with 18 additions and 18 deletions

View file

@ -66,9 +66,7 @@ pandora.ui.contactForm = function() {
.css({width: width + 'px'})
.bindEvent({
validate: function(data) {
$sendButton.options({
disabled: !data.valid
});
$sendButton.options({disabled: !data.valid});
}
})
.appendTo(that),