Commit 39b5e40bd73cbdabd62d42f2e2f7a676cc7289b1

Authored by Caio
Committed by Paulo Meireles
1 parent 398774a9

[mezuro] now comments can be hindden and unhidden

plugins/mezuro/public/javascripts/project_content.js
... ... @@ -10,8 +10,8 @@ function showProjectContent() {
10 10 }
11 11  
12 12 function toogle(element){
13   - alert(element);
14   - jQuery(element).hide();
  13 + jQuery(element).toggle();
  14 + return false;
15 15 }
16 16  
17 17 function reloadModule(){
... ... @@ -50,12 +50,14 @@ function showProjectResult(content) {
50 50 function showProjectTree(content){
51 51 processingTree = false;
52 52 jQuery('#project-tree').html(content);
  53 + return false;
53 54 }
54 55  
55 56 function showModuleResult(content){
56 57 if (processingTree != true){
57 58 jQuery('#module-result').html(content);
58 59 }
  60 + return false;
59 61 }
60 62  
61 63 function callAction(action, params, callback){
... ...