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