fix for bug 2577: Cannot delete patron in IE
authorJesse Weaver <jesse.weaver@liblime.com>
Tue, 2 Sep 2008 22:53:27 +0000 (17:53 -0500)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Tue, 28 Oct 2008 21:09:29 +0000 (22:09 +0100)
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 <galen.charlton@liblime.com>
koha-tmpl/intranet-tmpl/prog/en/includes/circ-toolbar.inc
koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc

index ebd1f76..5ec742b 100644 (file)
@@ -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 = [
index b4cbd03..6942f73 100644 (file)
@@ -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 = [