Lines 41-47
$(document).ready(function() {
Link Here
|
41 |
$('#selectlibrary').submit(); |
41 |
$('#selectlibrary').submit(); |
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']").filter(function(){return this.value.length > 0 }).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 another rule?")); |
46 |
if (!edit) return false; |
46 |
if (!edit) return false; |
47 |
} |
47 |
} |
48 |
- |
|
|