diff --git a/validador.py b/validador.py index 8f2f2db..56be5ff 100644 --- a/validador.py +++ b/validador.py @@ -33,7 +33,7 @@ class Validador: def __update_project_info(self, project): template = self.env.get_template('template.html') 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']) - project.info['thumbnail'] = self.config['HOST_ENDPOINT'] + "/img/thumbnail.png" + project.info['thumbnail'] = self.config['HOST_STATIC_FILES_ENDPOINT'] + "/img/thumbnail.png" project.info['sched'] = "incremental" project.allow_anonymous_contributors = False #project.published = True diff --git a/view/assets/js/validador.js b/view/assets/js/validador.js index 0fb4aa8..acaf57c 100755 --- a/view/assets/js/validador.js +++ b/view/assets/js/validador.js @@ -29,8 +29,8 @@ } function resetComments() { - $("#comment-avatar").val(""); - $("#comment-ref").val(""); + $("#comment-avatar textarea").val("") + $("#comment-ref textarea").val(""); _hideCommentAvatar(); _hideCommentRef(); } -- libgit2 0.21.2