forked from 0x2620/pandora
clear contact dialog after sending a message
This commit is contained in:
parent
5cf436546d
commit
9752b2e332
2 changed files with 2 additions and 1 deletions
|
@ -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"},
|
||||||
|
|
|
@ -115,6 +115,7 @@ pandora.ui.contactForm = function() {
|
||||||
}).bindEvent({
|
}).bindEvent({
|
||||||
click: function() {
|
click: function() {
|
||||||
$dialog.close();
|
$dialog.close();
|
||||||
|
$form.values({subject: '', message: ''});
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue