clear contact dialog after sending a message

This commit is contained in:
rolux 2011-11-09 15:01:23 +00:00
parent 5cf436546d
commit 9752b2e332
2 changed files with 2 additions and 1 deletions

View file

@ -569,7 +569,7 @@
"sitePages": [ "sitePages": [
{"id": "about", "title": "About"}, {"id": "about", "title": "About"},
{"id": "news", "title": "News"}, {"id": "news", "title": "News"},
{"id": "tour", "title": "Take a Tour"}, // {"id": "tour", "title": "Take a Tour"},
{"id": "faq", "title": "Frequently Asked Questions"}, {"id": "faq", "title": "Frequently Asked Questions"},
{"id": "terms", "title": "Terms of Service"}, {"id": "terms", "title": "Terms of Service"},
{"id": "rights", "title": "Rights Management"}, {"id": "rights", "title": "Rights Management"},

View file

@ -115,6 +115,7 @@ pandora.ui.contactForm = function() {
}).bindEvent({ }).bindEvent({
click: function() { click: function() {
$dialog.close(); $dialog.close();
$form.values({subject: '', message: ''});
} }
}) })
], ],