Small template cleanup: display library name and cat description instead of codes
[koha_gimpoz] / tools / holidays.pl
index 9dd93f0..c87964a 100755 (executable)
@@ -38,7 +38,7 @@ my ($template, $loggedinuser, $cookie)
                              type => "intranet",
                              query => $input,
                              authnotrequired => 0,
-                             flagsrequired => {tools => 1},
+                             flagsrequired => {tools => 'edit_calendar'},
                              debug => 1,
                            });
 
@@ -60,8 +60,7 @@ my $branchesList = CGI::scrolling_list(-name => 'branch',
                                        -size => 1,
                                        -default => [$branch],
                                        -multiple => 0,
-                                       -id => "branch",
-                                       -onChange => "changeBranch()");
+                                       -id => "branch");
 
 $branches->finish;