[Koha-patches] [PATCH] fix for bug 2577: Cannot delete patron in IE

Jesse Weaver jesse.weaver at liblime.com
Wed Sep 3 00:53:27 CEST 2008


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.
---
 .../prog/en/includes/circ-toolbar.inc              |    4 ++--
 .../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 ebd1f76..5ec742b 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 b4cbd03..6942f73 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 = [
-- 
1.5.5.GIT




More information about the Koha-patches mailing list