Lines 2-8
$( document ).ready(function() {
Link Here
|
2 |
var checkboxes = $("#delete-alert-form input[type='checkbox']"); |
2 |
var checkboxes = $("#delete-alert-form input[type='checkbox']"); |
3 |
var checkedcheckboxes = 0; |
3 |
var checkedcheckboxes = 0; |
4 |
checkboxes.on("change",function(){ |
4 |
checkboxes.on("change",function(){ |
5 |
if( $(checkboxes+":checked").length > 0){ |
5 |
if( $("#delete-alert-form").find("input:checked").length > 0){ |
6 |
checkedcheckboxes = 1; |
6 |
checkedcheckboxes = 1; |
7 |
$("#delete-alerts").removeClass("disabled"); |
7 |
$("#delete-alerts").removeClass("disabled"); |
8 |
} else { |
8 |
} else { |
Lines 86-89
function EditAlert( elt, id, precedence, selector, sound ) {
Link Here
|
86 |
$("#sound").val(sound); |
86 |
$("#sound").val(sound); |
87 |
$("#koha-sounds").val(sound); |
87 |
$("#koha-sounds").val(sound); |
88 |
enablePlayButton(sound,$('#play-sound')); |
88 |
enablePlayButton(sound,$('#play-sound')); |
89 |
} |
89 |
} |
90 |
- |
|
|