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:
parent
37a33c5041
commit
5d8a285b81
2 changed files with 4 additions and 4 deletions
|
@ -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 = [
|
||||
|
|
|
@ -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 = [
|
||||
|
|
Loading…
Reference in a new issue