Revision b058f1fe snf-cyclades-app/synnefo/ui/new_ui/ui/javascripts/okeanos-scripts/checkboxes-radiobuttons.js
b/snf-cyclades-app/synnefo/ui/new_ui/ui/javascripts/okeanos-scripts/checkboxes-radiobuttons.js | ||
---|---|---|
4 | 4 |
|
5 | 5 |
|
6 | 6 |
|
7 |
ui.checkbox = { |
|
7 |
/*ui.checkbox = {
|
|
8 | 8 |
changeState : function(checkbox_link) { |
9 | 9 |
$(checkbox_link).find('.snf-checkbox-unchecked, .snf-checkbox-checked').toggleClass('snf-checkbox-unchecked snf-checkbox-checked'); |
10 | 10 |
$(checkbox_link).closest('li').toggleClass('selected'); |
... | ... | |
24 | 24 |
} |
25 | 25 |
|
26 | 26 |
}; |
27 |
*/ |
|
27 | 28 |
|
28 | 29 |
ui.radiobtn = { |
29 | 30 |
changeState: function(radiobtn_link) { |
... | ... | |
45 | 46 |
|
46 | 47 |
// checkboxes binds |
47 | 48 |
|
48 |
$('.check').click(function(e) { |
|
49 |
/* $('.check').click(function(e) {
|
|
49 | 50 |
e.preventDefault(); |
50 | 51 |
e.stopPropagation(); |
51 | 52 |
ui.checkbox.changeState(this); |
52 | 53 |
ui.entitiesActionsEnabled(); |
53 | 54 |
}); |
55 |
*/ |
|
54 | 56 |
|
55 | 57 |
$('.lt-bar .select .check').click(function(e) { |
56 | 58 |
$(this).siblings('em').toggle(); |
Also available in: Unified diff