Commit 7dccb991912277db123b491d9c0e7ffc47e1b508
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,7 +33,7 @@ class Validador: | ||
33 | def __update_project_info(self, project): | 33 | def __update_project_info(self, project): |
34 | template = self.env.get_template('template.html') | 34 | template = self.env.get_template('template.html') |
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']) | 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 | project.info['sched'] = "incremental" | 37 | project.info['sched'] = "incremental" |
38 | project.allow_anonymous_contributors = False | 38 | project.allow_anonymous_contributors = False |
39 | #project.published = True | 39 | #project.published = True |
view/assets/js/validador.js
@@ -29,8 +29,8 @@ | @@ -29,8 +29,8 @@ | ||
29 | } | 29 | } |
30 | 30 | ||
31 | function resetComments() { | 31 | function resetComments() { |
32 | - $("#comment-avatar").val(""); | ||
33 | - $("#comment-ref").val(""); | 32 | + $("#comment-avatar textarea").val("") |
33 | + $("#comment-ref textarea").val(""); | ||
34 | _hideCommentAvatar(); | 34 | _hideCommentAvatar(); |
35 | _hideCommentRef(); | 35 | _hideCommentRef(); |
36 | } | 36 | } |