Commit 6aeb81e0c85c441f846174742858d3c2ab21c26e

Authored by Victor Costa
1 parent 69957978

Fix description validation

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
js/main.js
... ... @@ -1296,7 +1296,7 @@ define(['jquery', 'handlebars', 'fastclick', 'proposal_app', 'handlebars_helpers
1296 1296 var $message = $form.find('.message');
1297 1297  
1298 1298 // validation
1299   - if( $description.text().length === 0 ){
  1299 + if( $description.val().length === 0 ){
1300 1300 $message.text('O campo "descrição" é obrigatório.');
1301 1301 return false;
1302 1302 }
... ...