Browse files

Clear comment box after adding search result.

  • Loading branch information...
1 parent 42a7eb0 commit 8cf3bcdcf4e8c8d46acbc9bef56a4c9d8e867267 @mpereira mpereira committed Nov 10, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 public/javascripts/modules/show_question.js
View
1 public/javascripts/modules/show_question.js
@@ -44,6 +44,7 @@ $(document).ready(function() {
return {
success: function(data) {
$('.loader').hide();
+ $('#new_search_result #search_result_comment').val('');
var search_result = $(data.html);
$('#search_results').append(search_result);
highlightEffect(search_result);

0 comments on commit 8cf3bcd

Please sign in to comment.