Internet Explorer gets very upset by JS hashes with unquoted keys
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 1 Jun 2009 04:56:58 +0000 (04:56 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 1 Jun 2009 04:56:58 +0000 (04:56 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13273 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/opac/skin/default/js/rdetail.js

index 12572df..7f9c07d 100644 (file)
@@ -196,14 +196,14 @@ function OpenMarcEditWindow(pcrud, rec) {
        dojo.require('openils.PermaCrud');
 
        win.xulG = {
-               record : {marc : rec.marc()},
-               save : {
-                       label: opac_strings.SAVE_MFHD_LABEL,
-                       func: function(xmlString) {
+               "record": {"marc": rec.marc()},
+               "save": {
+                       "label": opac_strings.SAVE_MFHD_LABEL,
+                       "func": function(xmlString) {
                                rec.marc(xmlString);
                                rec.ischanged(true);
                                pcrud.update(rec);
-                       },
+                       }
                }
        };
 }