From 9752b2e332b798a1099e5cbb1012476fca6447ad Mon Sep 17 00:00:00 2001 From: rolux Date: Wed, 9 Nov 2011 15:01:23 +0000 Subject: [PATCH] clear contact dialog after sending a message --- pandora/0xdb.jsonc | 2 +- static/js/pandora/contactForm.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pandora/0xdb.jsonc b/pandora/0xdb.jsonc index fedfade3..5673bad6 100644 --- a/pandora/0xdb.jsonc +++ b/pandora/0xdb.jsonc @@ -569,7 +569,7 @@ "sitePages": [ {"id": "about", "title": "About"}, {"id": "news", "title": "News"}, - {"id": "tour", "title": "Take a Tour"}, + // {"id": "tour", "title": "Take a Tour"}, {"id": "faq", "title": "Frequently Asked Questions"}, {"id": "terms", "title": "Terms of Service"}, {"id": "rights", "title": "Rights Management"}, diff --git a/static/js/pandora/contactForm.js b/static/js/pandora/contactForm.js index df8f03ba..410a4763 100644 --- a/static/js/pandora/contactForm.js +++ b/static/js/pandora/contactForm.js @@ -115,6 +115,7 @@ pandora.ui.contactForm = function() { }).bindEvent({ click: function() { $dialog.close(); + $form.values({subject: '', message: ''}); } }) ],