From 2e19ede8f2113017901cd668e4dabf584dff826e Mon Sep 17 00:00:00 2001 From: Edward Ribeiro Date: Wed, 27 Apr 2016 12:12:40 -0300 Subject: [PATCH] FIX: substitui null por '' ao limpar autor --- static/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/app.js b/static/js/app.js index a5af75510..4523eeb52 100644 --- a/static/js/app.js +++ b/static/js/app.js @@ -61,7 +61,7 @@ function autorModal() { $( "#button-id-limpar" ).click(function() { $("#nome_autor").text(''); - $("#id_autor").val(null); + $("#id_autor").val(''); }); $("#button-id-pesquisar").click(function() {