|
Lines 42-48
$(document).ready(function() {
Link Here
|
| 42 |
}); |
42 |
}); |
| 43 |
$(".editrule").click(function(){ |
43 |
$(".editrule").click(function(){ |
| 44 |
if ( $(edit_row).find("input[type='text'][value!='']").length > 0 ) { |
44 |
if ( $(edit_row).find("input[type='text'][value!='']").length > 0 ) { |
| 45 |
var edit = confirm(_("Are you sure you want to edit another rule?")); |
45 |
var edit = confirm(_("Are you sure you want to edit this rule?")); |
| 46 |
if (!edit) return false; |
46 |
if (!edit) return false; |
| 47 |
} |
47 |
} |
| 48 |
$('#default-circulation-rules td').removeClass('highlighted-row'); |
48 |
$('#default-circulation-rules td').removeClass('highlighted-row'); |
| 49 |
- |
|
|