Revision d2e6a893 snf-cyclades-app/synnefo/ui/new_ui/ui/javascripts/common.js
b/snf-cyclades-app/synnefo/ui/new_ui/ui/javascripts/common.js | ||
---|---|---|
292 | 292 |
*/ |
293 | 293 |
|
294 | 294 |
ui.changeCheckboxState =function(checkbox_link) { |
295 |
console.log(checkbox_link); |
|
295 | 296 |
$(checkbox_link).find('.snf-checkbox-unchecked, .snf-checkbox-checked').toggleClass('snf-checkbox-unchecked snf-checkbox-checked'); |
296 | 297 |
ui.entitiesActionsEnabled(); |
297 | 298 |
ui.checkedListItems(); |
... | ... | |
626 | 627 |
$('.with-checkbox').click(function(e){ |
627 | 628 |
e.preventDefault(); |
628 | 629 |
e.stopPropagation(); |
629 |
var checkbox = self.find('.check');
|
|
630 |
var checkbox = $(this).find('.check');
|
|
630 | 631 |
ui.changeCheckboxState(checkbox); |
631 | 632 |
}); |
632 | 633 |
|
634 |
$('.with-checkbox').find('a').click(function(e){ |
|
635 |
e.stopPropagation(); |
|
636 |
}) |
|
633 | 637 |
$('.radio_btn').click(function(e) { |
634 | 638 |
e.preventDefault(); |
635 | 639 |
var state = $(this).find('span'); |
Also available in: Unified diff