From 39b5e40bd73cbdabd62d42f2e2f7a676cc7289b1 Mon Sep 17 00:00:00 2001 From: Caio Date: Thu, 29 Mar 2012 14:44:15 -0300 Subject: [PATCH] [mezuro] now comments can be hindden and unhidden --- plugins/mezuro/public/javascripts/project_content.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/plugins/mezuro/public/javascripts/project_content.js b/plugins/mezuro/public/javascripts/project_content.js index adf0e43..9e96bd0 100644 --- a/plugins/mezuro/public/javascripts/project_content.js +++ b/plugins/mezuro/public/javascripts/project_content.js @@ -10,8 +10,8 @@ function showProjectContent() { } function toogle(element){ - alert(element); - jQuery(element).hide(); + jQuery(element).toggle(); + return false; } function reloadModule(){ @@ -50,12 +50,14 @@ function showProjectResult(content) { function showProjectTree(content){ processingTree = false; jQuery('#project-tree').html(content); + return false; } function showModuleResult(content){ if (processingTree != true){ jQuery('#module-result').html(content); } + return false; } function callAction(action, params, callback){ -- libgit2 0.21.2