[open-ils-commits] r13273 - trunk/Open-ILS/web/opac/skin/default/js (dbs)

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Jun 1 00:57:00 EDT 2009


Author: dbs
Date: 2009-06-01 00:56:58 -0400 (Mon, 01 Jun 2009)
New Revision: 13273

Modified:
   trunk/Open-ILS/web/opac/skin/default/js/rdetail.js
Log:
Internet Explorer gets very upset by JS hashes with unquoted keys


Modified: trunk/Open-ILS/web/opac/skin/default/js/rdetail.js
===================================================================
--- trunk/Open-ILS/web/opac/skin/default/js/rdetail.js	2009-06-01 03:54:51 UTC (rev 13272)
+++ trunk/Open-ILS/web/opac/skin/default/js/rdetail.js	2009-06-01 04:56:58 UTC (rev 13273)
@@ -196,14 +196,14 @@
 	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);
-			},
+			}
 		}
 	};
 }



More information about the open-ils-commits mailing list