Author: matevz
Date: Thu Jun 13 08:29:59 2013
New Revision: 1492562
URL: http://svn.apache.org/r1492562
Log:
#546 - Quick create ticket only works the first time a page is loaded.
Modified:
bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/js/theme.js
Modified: bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/js/theme.js
URL:
http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/js/theme.js?rev=1492562&r1=1492561&r2=1492562&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/js/theme.js (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/js/theme.js Thu Jun 13
08:29:59 2013
@@ -101,8 +101,8 @@ $( function () {
// Clear input controls inside quick create box
function qct_clearui() {
- $('#qct-form input, #qct-form select, #qct-form textarea').val('');
- $('#qct-inline-form input, #qct-inline-form select, #qct-inline-form
textarea').val('');
+ $('#qct-form input[name!="__FORM_TOKEN"], #qct-form select, #qct-form
textarea').val('');
+ $('#qct-inline-form input[name!="__FORM_TOKEN"], #qct-inline-form
select, #qct-inline-form textarea').val('');
}
// We want to submit via #qct-create