Bug 15321: No need to add the change trigger conditionally
It will be applied if the button exists. Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
parent
404a11a9a5
commit
c678525b47
1 changed files with 1 additions and 2 deletions
|
@ -156,7 +156,7 @@ $(document).ready(function(){
|
|||
$(this).select();
|
||||
});
|
||||
[% END %]
|
||||
[% IF ( saved1 || showsql || execute || editsql || save_successful ) %]
|
||||
|
||||
$(".confirmdelete").click(function(){
|
||||
$(this).parents('tr').attr("class","warn");
|
||||
if(confirm(_("Are you sure you want to delete this saved report?"))){
|
||||
|
@ -166,7 +166,6 @@ $(document).ready(function(){
|
|||
return false;
|
||||
}
|
||||
});
|
||||
[% END %]
|
||||
|
||||
[% IF (create || editsql || save) %]
|
||||
$("#select_group").change(function() {
|
||||
|
|
Loading…
Reference in a new issue