Revision 5be51d4f
b/snf-cyclades-app/synnefo/ui/static/snf/js/ui/web/ui_single_view.js | ||
---|---|---|
65 | 65 |
|
66 | 66 |
var self = this; |
67 | 67 |
this.toggler.click(function() { |
68 |
if(self.toggler.parent().parent().hasClass("disabled")) { |
|
69 |
return; |
|
70 |
} |
|
68 |
var disabled = self.toggler.parent().find(".cont-toggler-wrapper").hasClass("disabled"); |
|
69 |
if (disabled) { return; } |
|
71 | 70 |
self.toggle(); |
72 | 71 |
}); |
73 | 72 |
|
Also available in: Unified diff