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 <galen.charlton@liblime.com>
This commit is contained in:
Jesse Weaver 2008-09-02 17:53:27 -05:00 committed by Galen Charlton
parent 37a33c5041
commit 5d8a285b81
2 changed files with 4 additions and 4 deletions

View 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 = [

View 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 = [