Error for invalid filter is now auto hidden on a new filter submission.
This commit is contained in:
parent
0f116d1fe2
commit
80d988e2c6
@ -82,6 +82,7 @@ filterQuestions = () ->
|
|||||||
|
|
||||||
$('#filter-form').submit( (e) ->
|
$('#filter-form').submit( (e) ->
|
||||||
e.preventDefault()
|
e.preventDefault()
|
||||||
|
$('#error-area').hide()
|
||||||
filterQuestions()
|
filterQuestions()
|
||||||
$('#modal-filter').modal('hide')
|
$('#modal-filter').modal('hide')
|
||||||
linearCount = 0
|
linearCount = 0
|
||||||
|
@ -127,6 +127,7 @@
|
|||||||
|
|
||||||
$('#filter-form').submit(function(e) {
|
$('#filter-form').submit(function(e) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
$('#error-area').hide();
|
||||||
filterQuestions();
|
filterQuestions();
|
||||||
$('#modal-filter').modal('hide');
|
$('#modal-filter').modal('hide');
|
||||||
return linearCount = 0;
|
return linearCount = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user