From 5d8a285b813cf2ff6b3085a376d6f3225b78f9ce Mon Sep 17 00:00:00 2001 From: Jesse Weaver Date: Tue, 2 Sep 2008 17:53:27 -0500 Subject: [PATCH] fix for bug 2577: Cannot delete patron in IE Internet Explorer seems to have a problem with JS array and object constructors that have a comma at the end. There may be other JavaScript files that have this problem. Signed-off-by: Galen Charlton --- koha-tmpl/intranet-tmpl/prog/en/includes/circ-toolbar.inc | 4 ++-- koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-toolbar.inc index ebd1f7613b..5ec742b136 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-toolbar.inc @@ -56,8 +56,8 @@ function update_child() { function yuiToolbar() { var printmenu = [ - { text: _("Print Page"), onclick: {fn: function(){printx_window("page")}}, }, - { text: _("Print Slip"), onclick: {fn: function(){printx_window("slip")}}, } + { text: _("Print Page"), onclick: {fn: function(){printx_window("page")}} }, + { text: _("Print Slip"), onclick: {fn: function(){printx_window("slip")}} } ]; var moremenu = [ diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc index b4cbd03668..6942f730f2 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc @@ -50,8 +50,8 @@ function update_child() { function yuiToolbar() { var printmenu = [ - { text: _("Print Page"), onclick: {fn: function(){printx_window("page")}}, }, - { text: _("Print Slip"), onclick: {fn: function(){printx_window("slip")}}, } + { text: _("Print Page"), onclick: {fn: function(){printx_window("page")}} }, + { text: _("Print Slip"), onclick: {fn: function(){printx_window("slip")}} } ]; var moremenu = [ -- 2.39.5