Commit 7dccb991912277db123b491d9c0e7ffc47e1b508

Authored by Adabriand Furtado
1 parent 7fa558f8
Exists in master

Correção de bug onde comentários permaneciam entre tarefas.

Showing 2 changed files with 3 additions and 3 deletions   Show diff stats
validador.py
... ... @@ -33,7 +33,7 @@ class Validador:
33 33 def __update_project_info(self, project):
34 34 template = self.env.get_template('template.html')
35 35 project.info['task_presenter'] = template.render(server=self.config['HOST_STATIC_FILES_ENDPOINT'], server_backend=self.config['HOST_ENDPOINT'], app_shortname=self.config['PYBOSSA_APP_SHORT_NAME'])
36   - project.info['thumbnail'] = self.config['HOST_ENDPOINT'] + "/img/thumbnail.png"
  36 + project.info['thumbnail'] = self.config['HOST_STATIC_FILES_ENDPOINT'] + "/img/thumbnail.png"
37 37 project.info['sched'] = "incremental"
38 38 project.allow_anonymous_contributors = False
39 39 #project.published = True
... ...
view/assets/js/validador.js
... ... @@ -29,8 +29,8 @@
29 29 }
30 30  
31 31 function resetComments() {
32   - $("#comment-avatar").val("");
33   - $("#comment-ref").val("");
  32 + $("#comment-avatar textarea").val("")
  33 + $("#comment-ref textarea").val("");
34 34 _hideCommentAvatar();
35 35 _hideCommentRef();
36 36 }
... ...