Revision f5c5fb5e

b/snf-cyclades-app/synnefo/ui/static/snf/js/ui/web/ui_single_view.js
69 69
        });
70 70

  
71 71
        this.tags_toggler.click(function() {
72
          var self = this;
72 73
          self.toggler.find(".toggler").removeClass("open");
73
          self.toggler_content.slideUp();
74
          var f = function() { self.hide(true) }
75
          self.toggler_content.slideUp(f);
74 76
        });
75 77
      },
76 78

  
77 79
      toggle: function() {
80
        var self = this;
78 81
        this.open = !this.open;
79 82

  
80 83
        if (this.open) {
......
85 88
          this.toggler_content.removeClass(".hidden").slideDown();
86 89
        } else {
87 90
          this.toggler.find(".toggler").removeClass("open");
91
          var f = function() { self.hide(true) }
88 92
          this.toggler_content.removeClass(".hidden").slideUp();
89 93
        }
90 94
      }

Also available in: Unified diff